trick libtool into doing TRT

This commit is contained in:
drochner 2000-05-30 19:31:51 +00:00
parent 8d0aa456dd
commit 1177205903

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2000/05/30 19:31:51 drochner Exp $
--- ltconfig.orig Sat May 27 23:25:42 2000
+++ ltconfig Sat May 27 23:26:02 2000
@@ -1246,7 +1246,7 @@
*)
# ancient GNU ld didn't support --whole-archive et. al.
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
- whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
else
whole_archive_flag_spec=
fi