mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
Fix archive_cmds for older cc on HP-UX 11.
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC] [!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX 11.00 C compiler do not support -b yet; use a link test to decide whether $LD should be used for library creation. * THANKS: Update. Report by Daniel Richard G. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
a0283899e7
commit
0973f2de9a
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix archive_cmds for older cc on HP-UX 11.
|
||||
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
|
||||
[!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
|
||||
11.00 C compiler do not support -b yet; use a link test to
|
||||
decide whether $LD should be used for library creation.
|
||||
* THANKS: Update.
|
||||
Report by Daniel Richard G.
|
||||
|
||||
2008-11-12 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* configure.ac: Bump Autoconf requirement.
|
||||
|
1
THANKS
1
THANKS
@ -82,6 +82,7 @@
|
||||
Craig Tierney Craig.Tierney@noaa.gov
|
||||
Dalibor Topic robilad@kaffe.org
|
||||
Daniel Reed n@ml.org
|
||||
Daniel Richard G. skunk@iSKUNK.ORG
|
||||
DJ Delorie dj@delorie.com
|
||||
Edouard G. Parmelan Edouard.Parmelan@France.NCR.COM
|
||||
Erez Zadok ezk@shekel.mcl.cs.columbia.edu
|
||||
|
9
libltdl/m4/libtool.m4
vendored
9
libltdl/m4/libtool.m4
vendored
@ -4713,7 +4713,14 @@ _LT_EOF
|
||||
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
*)
|
||||
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
||||
m4_if($1, [], [
|
||||
# Older versions of the 11.00 compiler do not understand -b yet
|
||||
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
||||
_LT_LINKER_OPTION([if $CC understands -b],
|
||||
_LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
|
||||
[_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
|
||||
[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
|
||||
[_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user