summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux_lxpthread.GNU
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-17 07:53:32 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-17 07:53:32 +0000
commit7e7e0801f1305b1fe2a0e5ff4b0cc022077f73a6 (patch)
tree4024d7c33559faecd57832c74e5f650c7bf80e49 /include/makeinclude/platform_linux_lxpthread.GNU
parentf498ec3072a4f20dbedadc2340592e24ed3301b7 (diff)
downloadATCD-7e7e0801f1305b1fe2a0e5ff4b0cc022077f73a6.tar.gz
*** empty log message ***
Diffstat (limited to 'include/makeinclude/platform_linux_lxpthread.GNU')
-rw-r--r--include/makeinclude/platform_linux_lxpthread.GNU6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/makeinclude/platform_linux_lxpthread.GNU b/include/makeinclude/platform_linux_lxpthread.GNU
index 67e517633ce..1e160271131 100644
--- a/include/makeinclude/platform_linux_lxpthread.GNU
+++ b/include/makeinclude/platform_linux_lxpthread.GNU
@@ -11,7 +11,7 @@ CC = gcc -w
CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -D_MIT_POSIX_THREADS -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
DLD = $(CXX)
LD = $(CXX)
-LIBS += -lpthread -lstdc++
+LIBS += -ldl -lpthread -lstdc++
PIC = -fPIC
AR = ar
ARFLAGS = ruv
@@ -19,6 +19,10 @@ RANLIB = ranlib
SOFLAGS = $(CPPFLAGS) -shared
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+# Added line below to support "Executable Shared Object" files (as
+# needed by the service configurator).
+# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com>
+ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $<
PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \
$(COMPILE.cc) -o gcctemp.o gcctemp.c && \
$(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \