summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_linux.GNU
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:31:47 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:31:47 +0000
commit7dbf181d7c2031d7c945f60f4a3128976c367954 (patch)
tree96b604481c9ec7054bc7bc669d1d675cce9cd6bc /ACE/include/makeinclude/platform_linux.GNU
parent9291cb30fdf7d60efc98288664901e7d77e5b450 (diff)
downloadATCD-7dbf181d7c2031d7c945f60f4a3128976c367954.tar.gz
ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/include/makeinclude/platform_linux.GNU')
-rw-r--r--ACE/include/makeinclude/platform_linux.GNU4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/include/makeinclude/platform_linux.GNU b/ACE/include/makeinclude/platform_linux.GNU
index 5b1963fbfb5..c18863b876d 100644
--- a/ACE/include/makeinclude/platform_linux.GNU
+++ b/ACE/include/makeinclude/platform_linux.GNU
@@ -104,9 +104,9 @@ LIBS += -ldl
ifeq ($(threads),1)
LIBS += -lpthread
+ # look for the rt library in the usual places
+ LIBS += $(shell test "`ls -L /usr/lib/librt.so* /lib/librt.so*`" && echo -lrt)
endif
-# look for the rt library in the usual places
-LIBS += $(shell test "`ls -L /usr/lib/librt.so* /lib/librt.so*`" && echo -lrt)
ifeq ($(optimize),1)
SOFLAGS += -Wl,-O3