mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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)
This commit is contained in:
parent
948a75a793
commit
89a7dcd400
@ -46,8 +46,8 @@ LT_STATIC_EXEC=@LT_STATIC_EXEC@
|
|||||||
DYNAMIC_DIRS=@DYNAMIC_DIRS@
|
DYNAMIC_DIRS=@DYNAMIC_DIRS@
|
||||||
LT=$(top_builddir)/libtool
|
LT=$(top_builddir)/libtool
|
||||||
LT_COMPILE=$(LT) --mode=compile $(CC)
|
LT_COMPILE=$(LT) --mode=compile $(CC)
|
||||||
LT_LINK_LIB=$(LT) --mode=link $(CC) -rpath $(libdir)
|
LT_LINK_LIB=$(LT) --mode=link $(CC) -dlopen self -rpath $(libdir)
|
||||||
LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -rpath $(bindir) $(DYNAMIC_DIRS)
|
LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
|
||||||
LT_RUN=$(LT) --mode=execute
|
LT_RUN=$(LT) --mode=execute
|
||||||
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
|
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
|
||||||
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
|
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
|
||||||
|
Loading…
Reference in New Issue
Block a user