summaryrefslogtreecommitdiffstats
path: root/config/commence.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-11-29 22:28:03 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-11-29 22:28:03 (GMT)
commit89a7dcd4002df820eff189b101bdc8db8994004f (patch)
tree120cdf5610066be0f33793680981d0b9c2a7a4b9 /config/commence.in
parent948a75a79321f87733369fade2471fc993d6b442 (diff)
downloadhdf5-89a7dcd4002df820eff189b101bdc8db8994004f.zip
hdf5-89a7dcd4002df820eff189b101bdc8db8994004f.tar.gz
hdf5-89a7dcd4002df820eff189b101bdc8db8994004f.tar.bz2
[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)
Diffstat (limited to 'config/commence.in')
-rw-r--r--config/commence.in4
1 files 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)