[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
This commit is contained in:
Bill Wendling 2000-11-30 14:53:43 -05:00
parent b253cfbbec
commit 451ab02f4f

View File

@ -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)