summaryrefslogtreecommitdiffstats
path: root/config/commence.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-09-12 07:54:54 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-09-12 07:54:54 (GMT)
commitbb533a9879fad653a577d0a0eaf924152e74b93f (patch)
tree62ea207af85d63d1c89de5448a7e3985ad2a16f5 /config/commence.in
parentcd2902be8328d0b006121a9cb64de968ee9b727c (diff)
downloadhdf5-bb533a9879fad653a577d0a0eaf924152e74b93f.zip
hdf5-bb533a9879fad653a577d0a0eaf924152e74b93f.tar.gz
hdf5-bb533a9879fad653a577d0a0eaf924152e74b93f.tar.bz2
[svn-r2538] Added DYNAMIC_DIRS macro. This is derived from the LDFLAGS macro created
in the configure script, basically replacing all -L/<path> constructs with -R/<path> ones so that libtools will pass it along to the compiler correctly.
Diffstat (limited to 'config/commence.in')
-rw-r--r--config/commence.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/commence.in b/config/commence.in
index 5b3a658..461d322 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -42,10 +42,11 @@ PUB_LIB=$(LIB)
## Shared libraries
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)
+LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -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)