summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-24 17:36:21 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-24 17:36:21 (GMT)
commit2d9feeddf355fdc0f7608b178df89ddba33370b4 (patch)
tree298c374b4ba29dbf022a698d656f3e8e8424d8f2 /configure.in
parent465f71d0524bf71c42f3ab76d284675dc9a38a3d (diff)
downloadcpython-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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
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";;