From 2d9feeddf355fdc0f7608b178df89ddba33370b4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 24 Nov 1997 17:36:21 +0000 Subject: 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. --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index a79ce5b..b95c0b4 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 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";; -- cgit v0.12