summaryrefslogtreecommitdiffstats
path: root/bin/ltconfig
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-08-01 21:00:25 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-08-01 21:00:25 (GMT)
commitb5d11111b020618ba8716c9b8d4216303f0b2a30 (patch)
tree7b20e78965261b8282e9629b2e3b4f783cf4e579 /bin/ltconfig
parent0d6d3eafe4458b141f44a1ef119ee1fc72b01714 (diff)
downloadhdf5-b5d11111b020618ba8716c9b8d4216303f0b2a30.zip
hdf5-b5d11111b020618ba8716c9b8d4216303f0b2a30.tar.gz
hdf5-b5d11111b020618ba8716c9b8d4216303f0b2a30.tar.bz2
[svn-r4292]
Purpose: Bug Fix Description: The way we were generating Dependencies and .depend files was broken. If the $srcdir or other macros began with a ".", then it would match anything and cause problems since it would then overwrite the beginning of the header file's path. Solution: Wrote a Perl script which can handle this type of weirdness better. It's only used when the environment is a GNU one with a GCC compiler... Platforms tested: Linux
Diffstat (limited to 'bin/ltconfig')
-rwxr-xr-xbin/ltconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ltconfig b/bin/ltconfig
index 24ad505..a331ab5 100755
--- a/bin/ltconfig
+++ b/bin/ltconfig
@@ -1284,8 +1284,8 @@ else
hname="`hostname`"
case "$hname" in
- *pacific.llnl.gov* | *gs01015*)
- hardcode_libdir_flag_spec=' '
+ *pacific.llnl.gov* | *gs01*)
+ hardcode_libdir_flag_spec='${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'
;;
*)
hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'