diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-12 19:42:26 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-12 19:42:26 (GMT) |
commit | 6d76ebb8d9d035671a5e77c1d3f811ce8353d0f2 (patch) | |
tree | e1c50bb09ffcd7d36725955f732c98b6dd965156 /config/commence.in | |
parent | 212d90d25dc1367ca949bd298acaaed58bcf4efd (diff) | |
download | hdf5-6d76ebb8d9d035671a5e77c1d3f811ce8353d0f2.zip hdf5-6d76ebb8d9d035671a5e77c1d3f811ce8353d0f2.tar.gz hdf5-6d76ebb8d9d035671a5e77c1d3f811ce8353d0f2.tar.bz2 |
[svn-r3805] Purpose:
Bug Fix
Description:
If we need to specify a -R flag for dynamic libraries (like, in the
case when we specify --with-hdf4), then this flag needs to be added
to the linking line so that it will show up in the generated library
and other programs linking to that library will be able to find the
relevant libraries.
Solution:
Added the DYNAMIC_DIRS macro to the link line.
Platforms tested:
Arabica
Diffstat (limited to 'config/commence.in')
-rw-r--r-- | config/commence.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/commence.in b/config/commence.in index c212a37..37f8131 100644 --- a/config/commence.in +++ b/config/commence.in @@ -46,7 +46,7 @@ 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_LIB=$(LT) --mode=link $(CC) -rpath $(libdir) $(DYNAMIC_DIRS) 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) |