From 04085d340b9c7eec91569394bedb2c53dc4d8183 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 19 Nov 2010 16:38:46 -0600 Subject: [PATCH] configure: Link with libdl on Solaris 8 and 9 (but not 10). --- configure/os/CONFIG.Common.solaris-sparc | 4 ++-- configure/os/CONFIG.Common.solaris-sparc-gnu | 4 ++-- configure/os/CONFIG.Common.solaris-x86 | 4 ++-- configure/os/CONFIG.Common.solaris-x86-gnu | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure/os/CONFIG.Common.solaris-sparc b/configure/os/CONFIG.Common.solaris-sparc index 431b62b5a..d47a5165e 100644 --- a/configure/os/CONFIG.Common.solaris-sparc +++ b/configure/os/CONFIG.Common.solaris-sparc @@ -51,8 +51,8 @@ OP_SYS_LDLIBS += $(STLPORT_LDLIBS_$(USE_STLPORT)) # OS libraries used when generating shared libraries or static binaries OP_SYS_LDLIBS += -lsocket -lnsl -OP_SYS_LDLIBS_8 += -lCrun -lc -OP_SYS_LDLIBS_9 += -lumem -lCrun -lc +OP_SYS_LDLIBS_8 += -ldl -lCrun -lc +OP_SYS_LDLIBS_9 += -ldl -lumem -lCrun -lc OP_SYS_LDLIBS_10 += -lumem -lCrun -lc OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION)) diff --git a/configure/os/CONFIG.Common.solaris-sparc-gnu b/configure/os/CONFIG.Common.solaris-sparc-gnu index 7d1407c48..e1b7e4b28 100644 --- a/configure/os/CONFIG.Common.solaris-sparc-gnu +++ b/configure/os/CONFIG.Common.solaris-sparc-gnu @@ -15,7 +15,7 @@ COMPILER_CPPFLAGS = -D_REENTRANT STLPORT_LDLIBS_NO = -OP_SYS_LDLIBS_8 = -OP_SYS_LDLIBS_9 = +OP_SYS_LDLIBS_8 = -ldl +OP_SYS_LDLIBS_9 = -ldl OP_SYS_LDLIBS_10 = diff --git a/configure/os/CONFIG.Common.solaris-x86 b/configure/os/CONFIG.Common.solaris-x86 index e47712e31..d19083422 100644 --- a/configure/os/CONFIG.Common.solaris-x86 +++ b/configure/os/CONFIG.Common.solaris-x86 @@ -50,8 +50,8 @@ OP_SYS_CFLAGS+=$(STLPORT_CFLAGS_$(USE_STLPORT)) OP_SYS_LDFLAGS+=$(STLPORT_CFLAGS_$(USE_STLPORT)) OP_SYS_LDLIBS += -lsocket -lnsl -OP_SYS_LDLIBS_8 += -lCrun -lc -OP_SYS_LDLIBS_9 += -lCrun -lc +OP_SYS_LDLIBS_8 += -ldl -lCrun -lc +OP_SYS_LDLIBS_9 += -ldl -lCrun -lc OP_SYS_LDLIBS_10 += -lCrun -lc OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION)) OP_SYS_LDLIBS += $(STLPORT_LDLIBS_$(USE_STLPORT)) diff --git a/configure/os/CONFIG.Common.solaris-x86-gnu b/configure/os/CONFIG.Common.solaris-x86-gnu index 37387147b..ce4fae0ad 100644 --- a/configure/os/CONFIG.Common.solaris-x86-gnu +++ b/configure/os/CONFIG.Common.solaris-x86-gnu @@ -14,7 +14,7 @@ COMPILER_CPPFLAGS = -D_REENTRANT STLPORT_LDLIBS_NO = -OP_SYS_LDLIBS_8 = -lc -OP_SYS_LDLIBS_9 = -lc +OP_SYS_LDLIBS_8 = -ldl -lc +OP_SYS_LDLIBS_9 = -ldl -lc OP_SYS_LDLIBS_10 = -lc