mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-07 15:37:05 +08:00
* ltconfig.in (whole-archive-flag-spec): test whether the
version of GNU ld being used understands --whole-archive before using it.
This commit is contained in:
parent
f8d63238ac
commit
6be47e4453
@ -1,3 +1,9 @@
|
||||
1999-09-22 Gary V. Vaughan <gary@oranda.demon.co.uk>
|
||||
|
||||
* ltconfig.in (whole-archive-flag-spec): test whether the
|
||||
version of GNU ld being used understands --whole-archive
|
||||
before using it.
|
||||
|
||||
1999-09-19 Thomas Tanner <tanner@ffii.org>
|
||||
|
||||
* ltmain.in: don't ignore convenience libraries for objects/archives
|
||||
|
@ -1464,7 +1464,12 @@ EOF
|
||||
whole_archive_flag_spec=
|
||||
;;
|
||||
*)
|
||||
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
||||
# ancient GNU ld didn't support --whole-archive et. al.
|
||||
if $LD --help 2>71 | egrep 'no-whole-archive' > /dev/null; then
|
||||
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
||||
else
|
||||
whole_archive_flag_spec=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user