From 89a7dcd4002df820eff189b101bdc8db8994004f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 29 Nov 2000 17:28:03 -0500 Subject: [svn-r3030] Purpose: Bug Fix Description: Some platforms don't have support for dlopen and friends when the library is static. Solution: This is part of the attempt to correct this "feature". libtool wants AC_LIBTOOL_DLOPEN in the configure.in file and -dlopen on this line... Platforms tested: (untested) --- config/commence.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/commence.in b/config/commence.in index f90d0eb..0ab7156 100644 --- a/config/commence.in +++ b/config/commence.in @@ -46,8 +46,8 @@ LT_STATIC_EXEC=@LT_STATIC_EXEC@ DYNAMIC_DIRS=@DYNAMIC_DIRS@ LT=$(top_builddir)/libtool LT_COMPILE=$(LT) --mode=compile $(CC) -LT_LINK_LIB=$(LT) --mode=link $(CC) -rpath $(libdir) -LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -rpath $(bindir) $(DYNAMIC_DIRS) +LT_LINK_LIB=$(LT) --mode=link $(CC) -dlopen self -rpath $(libdir) +LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS) LT_RUN=$(LT) --mode=execute LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM) LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA) -- cgit v0.12