From: Martin v. Löwis Date: Thu, 18 Apr 2002 14:55:08 +0000 (+0000) Subject: Test for --export-dynamic directly to avoid problems with binutils 2.12. X-Git-Tag: v2.2.2b1~420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1fec5b5a9659ee4ec22916da8ac407eb5bb8932d;p=thirdparty%2FPython%2Fcpython.git Test for --export-dynamic directly to avoid problems with binutils 2.12. --- diff --git a/configure b/configure index 37d0a4b77b98..e68004c7216b 100755 --- a/configure +++ b/configure @@ -3277,7 +3277,7 @@ then fi;; SunOS/5*) case $CC in *gcc*) - if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null + if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null then LINKFORSHARED="-Xlinker --export-dynamic" fi;; diff --git a/configure.in b/configure.in index addf0314ed85..236f45772974 100644 --- a/configure.in +++ b/configure.in @@ -889,7 +889,7 @@ then fi;; SunOS/5*) case $CC in *gcc*) - if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null + if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null then LINKFORSHARED="-Xlinker --export-dynamic" fi;;