summaryrefslogtreecommitdiff
path: root/ACE/include
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-05-16 07:20:01 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-05-16 07:20:01 +0000
commit6b1d148054b3ef370ccd093150c1cf47046f4196 (patch)
tree12f3e987d3fd7328bb61cf2dcc6a58b9f130fe1d /ACE/include
parent279da880ada36222249fb988d0bacc506631ee26 (diff)
downloadATCD-6b1d148054b3ef370ccd093150c1cf47046f4196.tar.gz
Fri May 16 07:18:15 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/include')
-rw-r--r--ACE/include/makeinclude/platform_linux.GNU6
-rw-r--r--ACE/include/makeinclude/platform_linux_common.GNU6
2 files changed, 6 insertions, 6 deletions
diff --git a/ACE/include/makeinclude/platform_linux.GNU b/ACE/include/makeinclude/platform_linux.GNU
index 94706302d06..3041a58ca89 100644
--- a/ACE/include/makeinclude/platform_linux.GNU
+++ b/ACE/include/makeinclude/platform_linux.GNU
@@ -65,14 +65,14 @@ CPPFLAGS += -D_GNU_SOURCE
DCFLAGS += -g
DCCFLAGS += -g
-DLD = $(CXX)
-LD = $(CXX)
+DLD ?= $(CXX)
+LD ?= $(CXX)
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)
+ LIBS += $(shell test "`ls -L /usr/lib*/librt.so* /lib*/librt.so*`" && echo -lrt)
endif
ifeq ($(optimize),1)
diff --git a/ACE/include/makeinclude/platform_linux_common.GNU b/ACE/include/makeinclude/platform_linux_common.GNU
index e5b988e6e5f..53f680644d2 100644
--- a/ACE/include/makeinclude/platform_linux_common.GNU
+++ b/ACE/include/makeinclude/platform_linux_common.GNU
@@ -47,8 +47,8 @@ PLATFORM_TCL_CPPFLAGS=
PLATFORM_TCL_LIBS=-ltcl
PLATFORM_TCL_LDFLAGS=
-PLATFORM_TK_CPPFLAGS=-I$(shell . /usr/lib/tkConfig.sh && echo -n $$TK_INC_DIR $$TK_DEFS)
-PLATFORM_TK_LIBS=$(shell . /usr/lib/tkConfig.sh && echo -n $$TK_LIB_FLAG)
+PLATFORM_TK_CPPFLAGS=-I$(shell . /usr/lib*/tkConfig.sh && echo -n $$TK_INC_DIR $$TK_DEFS)
+PLATFORM_TK_LIBS=$(shell . /usr/lib*/tkConfig.sh && echo -n $$TK_LIB_FLAG)
PLATFORM_TK_LDFLAGS=
PLATFORM_QT_CPPFLAGS ?= -I$(QTDIR)/include
@@ -71,7 +71,7 @@ ifeq ($(sctp),lksctp)
endif
PLATFORM_AIO_SUPPORT := \
- $(shell test "`ls -L /usr/lib/librt.so* /lib/librt.so*`" && echo -DACE_HAS_AIO_CALLS)
+ $(shell test "`ls -L /usr/lib*/librt.so* /lib*/librt.so*`" && echo -DACE_HAS_AIO_CALLS)
GNU_LIBPTHREAD_VERSION := $(shell getconf GNU_LIBPTHREAD_VERSION)
ifeq (NPTL, $(word 1,$(GNU_LIBPTHREAD_VERSION)))