summaryrefslogtreecommitdiffstats
path: root/bin/ltmain.sh
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-02-16 19:27:27 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-02-16 19:27:27 (GMT)
commit8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f (patch)
treee103ef2bcab79e2a91260775a78616ddbc962e21 /bin/ltmain.sh
parent18c257c46f377066e6c863c88b95d4b85825ee44 (diff)
downloadhdf5-8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f.zip
hdf5-8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f.tar.gz
hdf5-8ed95c00114dd3f6d9b766664c3bb56aa75f7a4f.tar.bz2
[svn-r10016]
Purpose: Bug fix Description: modi4 dies during build with strange errors. The root cause of these is a two-year-old hack in HDF5's libtool script that only takes effect on IRIX. Solution: Edited the libtool hack (by editing ltmain.sh) to correct a bug in the hack. Also made sure that compiler-specific DEFAULT_LIBS are used when linking. Platforms tested: sleipnir, copper, modi4, sol
Diffstat (limited to 'bin/ltmain.sh')
-rw-r--r--bin/ltmain.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ltmain.sh b/bin/ltmain.sh
index 92113ca..ef07484 100644
--- a/bin/ltmain.sh
+++ b/bin/ltmain.sh
@@ -3225,6 +3225,9 @@ EOF
# of library paths
finalize_rpath=`echo $rpath | sed -e "s#:# ${wl}-rpath ${wl}#g"`;
compile_rpath=`echo $rpath | sed -e "s#:# ${wl}-rpath ${wl}#g"`;
+ # Add a space before each path
+ finalize_rpath=" $finalize_rpath"
+ compile_rpath=" $compile_rpath"
;;
*)
finalize_rpath="$rpath";