From 451ab02f4f0ae1bd842fe4915de4265fb79a38a6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 30 Nov 2000 14:53:43 -0500 Subject: [svn-r3038] Purpose: Buglet Description: If we compiled with -all-static, then the compiler could complain about not being able to find dlopen and friends. Solution: Used the ``-dlopen self'' libtool command. Platforms tested: Linux --- config/commence.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/commence.in b/config/commence.in index 0ab7156..64c7432 100644 --- a/config/commence.in +++ b/config/commence.in @@ -45,8 +45,8 @@ PUB_LIB=$(LIB) 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) -dlopen self -rpath $(libdir) +LT_COMPILE=$(LT) --mode=compile $(CC) -dlopen self +LT_LINK_LIB=$(LT) --mode=link $(CC) -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) -- cgit v0.12