mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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:
parent
b253cfbbec
commit
451ab02f4f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user