mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r3035] Purpose:
Major Hack (tm) NOTE! When upgrading ltconfig in the future, this may have to be re-fixed!!! Description: Pacific Blue didn't like the ``-b nolibpath -b libpath:...'' flags libtool was handing it. It looks as if those flags would make mpicc forget where some of the libraries it needed were. Solution: Test the hostname to determine if we're at pacific.llnl.gov. If so, then we don't want those flags. Platforms tested: Pacific Blue...
This commit is contained in:
parent
49e8b9fab8
commit
54466efc00
16
bin/ltconfig
16
bin/ltconfig
@ -1277,7 +1277,21 @@ else
|
||||
;;
|
||||
|
||||
aix4*)
|
||||
hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'
|
||||
# This is a Major Hack(tm) to get HDF5 to compile on Pacific Blue.
|
||||
# The ``-b nolibpath -b ...'' flags were messing with the mpicc
|
||||
# compiler's already defined library paths and it wasn't able to find
|
||||
# the libraries it needed to run....DOH!
|
||||
hname="`hostname`"
|
||||
|
||||
case "$hname" in
|
||||
*pacific.llnl.gov*)
|
||||
hardcode_libdir_flag_spec=' '
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'
|
||||
;;
|
||||
esac
|
||||
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$with_gcc" = yes; then
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
|
Loading…
x
Reference in New Issue
Block a user