From: Guido van Rossum Date: Mon, 24 Nov 1997 17:36:21 +0000 (+0000) Subject: Change the option used on Linux to export all symbols X-Git-Tag: v1.5b1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d9feeddf355fdc0f7608b178df89ddba33370b4;p=python Change the option used on Linux to export all symbols 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. --- diff --git a/configure b/configure index a79ce5bc5a..b95c0b470e 100755 --- 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";; diff --git a/configure.in b/configure.in index 1e566858ac..09e3a65f8c 100644 --- a/configure.in +++ b/configure.in @@ -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";;