]> git.ipfire.org Git - thirdparty/libtool.git/commit
Add $pic_flag to archive_cmds and archive_expsym_cmds.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 4 Apr 2010 08:57:04 +0000 (10:57 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 28 Aug 2010 13:43:52 +0000 (15:43 +0200)
commit877260ff043dd20fbfb3fe9eaa1d70d2280e42fa
treee791f456333b2b594995cbe44aa98ffeccbe9e09
parent5b79e16a32042c9a5dd08ab7f3f9668865e1b0ae
Add $pic_flag to archive_cmds and archive_expsym_cmds.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
<archive_cmds, archive_expsym_cmds>
[GNU ld, netbsd]: Add $pic_flag if ELF.
[GNU ld, solaris]: Likewise.
[GNU ld, default case]: Likewise.
[!GNU ld, freebsd, dragonfly]: Add $pic_flag.
[!GNU ld, GCC, hpux9]: Add $pic_flag.
[!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag
[!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
[!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag.
[!GNU ld, GCC, osf4, osf5]: Likewise.
[!GNU ld, GCC, solaris]: Likewise.
(_LT_LANG_CXX_CONFIG) <archive_cmds, archive_expsym_cmds>
[hpux9]: Add $pic_flag if $GXX.
[hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
[irix5, irix6]: Add $pic_flag if $GXX.
[osf4, osf5]: Likewise.
[solaris]: Add $pic_flag if $GXX and not GCC 2.7.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/m4/libtool.m4