summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-11-30 19:53:43 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-11-30 19:53:43 (GMT)
commit451ab02f4f0ae1bd842fe4915de4265fb79a38a6 (patch)
tree03621fadb28e906e11ab2496b9e86dcbdf72b6f5 /config
parentb253cfbbecd24454236f9b88585bede2b76d887c (diff)
downloadhdf5-451ab02f4f0ae1bd842fe4915de4265fb79a38a6.zip
hdf5-451ab02f4f0ae1bd842fe4915de4265fb79a38a6.tar.gz
hdf5-451ab02f4f0ae1bd842fe4915de4265fb79a38a6.tar.bz2
[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
Diffstat (limited to 'config')
-rw-r--r--config/commence.in4
1 files 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)