diff options
author | Guido van Rossum <guido@python.org> | 1997-11-24 17:36:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-24 17:36:21 (GMT) |
commit | 2d9feeddf355fdc0f7608b178df89ddba33370b4 (patch) | |
tree | 298c374b4ba29dbf022a698d656f3e8e8424d8f2 | |
parent | 465f71d0524bf71c42f3ab76d284675dc9a38a3d (diff) | |
download | cpython-2d9feeddf355fdc0f7608b178df89ddba33370b4.zip cpython-2d9feeddf355fdc0f7608b178df89ddba33370b4.tar.gz cpython-2d9feeddf355fdc0f7608b178df89ddba33370b4.tar.bz2 |
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.
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 1e56685..09e3a65 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";; |