]> granicus.if.org Git - python/commitdiff
Change the option used on Linux to export all symbols
authorGuido van Rossum <guido@python.org>
Mon, 24 Nov 1997 17:36:21 +0000 (17:36 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 24 Nov 1997 17:36:21 +0000 (17:36 +0000)
from the main program to shared libraries.  On mklinux, the old
'-rdynamic' doesn't work; the new '-Xlinker -export-dynamic' works
both there and on Intel Linux platforms.

configure
configure.in

index a79ce5bc5a51063531e9814363b25d43d0e970b0..b95c0b470e2b47174e5c64ad0c8246f52f5df0bb 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.70 
+# From configure.in Revision: 1.71 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.12 
@@ -1863,7 +1863,7 @@ then
        AIX*)   LINKFORSHARED='-Wl,-bE:$(srcdir)/python.exp -lld';;
        hp*|HP*)
            LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
-       Linux*) LINKFORSHARED="-rdynamic";;
+       Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
        next/*) LINKFORSHARED="-u libsys_s";;
        SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
        IRIX*/6*) LINKFORSHARED="-all";;
index 1e566858ac135533342d010c7a982b63e1b5891e..09e3a65f8ced5e9416f378bb8fd52e5bbdc1cf2c 100644 (file)
@@ -311,7 +311,7 @@ then
        AIX*)   LINKFORSHARED='-Wl,-bE:$(srcdir)/python.exp -lld';;
        hp*|HP*)
            LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
-       Linux*) LINKFORSHARED="-rdynamic";;
+       Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
        next/*) LINKFORSHARED="-u libsys_s";;
        SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
        IRIX*/6*) LINKFORSHARED="-all";;