From 104bd05c0c22b17494ecac05d035ecd059e906f5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 25 Oct 2009 04:32:40 +0000 Subject: switch -export_dynamic to the actual current flag --export-dynamic svn path=/trunk/externals/OSCx/; revision=12671 --- configure | 10 +++++----- configure.ac | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure b/configure index fd41847..0a9f8b4 100755 --- a/configure +++ b/configure @@ -4411,19 +4411,19 @@ else case $host in *86*-linux*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2 -fPIC" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" pd_suffix=pd_linux LIBS="-lc -lm" ;; powerpc-*-linux*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" pd_suffix=pd_linux LIBS="-lc -lm" ;; *-*-linux*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" INCLUDES="$INCLUDES" pd_suffix=pd_linux LIBS="-L../../../pd/bin -lpd -lc -lm" @@ -4433,7 +4433,7 @@ else ;; *-*-cygwin*) CFLAGS="$CFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" INCLUDES="$INCLUDES -I../../../pd/src" pd_suffix=dll LIBS="-lc -lm" @@ -4453,7 +4453,7 @@ else ;; *) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" pd_suffix=pd_linux LIBS="-lc -lm" ;; diff --git a/configure.ac b/configure.ac index b35bd0a..f134b58 100644 --- a/configure.ac +++ b/configure.ac @@ -79,20 +79,20 @@ else case $host in *86*-linux*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2 -fPIC" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" dnl we could test for bad glibc here, but don't pd_suffix=pd_linux LIBS="-lc -lm" ;; powerpc-*-linux*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" pd_suffix=pd_linux LIBS="-lc -lm" ;; *-*-linux*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" INCLUDES="$INCLUDES" pd_suffix=pd_linux LIBS="-L../../../pd/bin -lpd -lc -lm" @@ -102,7 +102,7 @@ else ;; *-*-cygwin*) CFLAGS="$CFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" INCLUDES="$INCLUDES -I../../../pd/src" pd_suffix=dll LIBS="-lc -lm" @@ -123,7 +123,7 @@ else *) dnl assume unix CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" - LDFLAGS="-Wl,-export_dynamic -shared" + LDFLAGS="-Wl,--export-dynamic -shared" pd_suffix=pd_linux LIBS="-lc -lm" ;; -- cgit v1.2.1