From 899167668fdbc225a27217fd812f4fb7b311d6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 25 Jan 2010 17:27:06 +0000 Subject: be more specific with ldflags test for "-shared" svn path=/trunk/externals/zexy/; revision=13091 --- src/configure.ac | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/configure.ac b/src/configure.ac index 931464f..a0086fd 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -275,7 +275,6 @@ dnl dnl OK, checks which machines are here now dnl this needs some rethinking when cross-compiling (?) dnl -AC_CHECK_LDFLAGS([-shared]) if test x${KERN} = xLinux; then @@ -301,12 +300,10 @@ then fi fi -#AC_CHECK_LDFLAGS([-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup], -# , -# AC_CHECK_LDFLAGS([-bundle -undefined suppress -flat_namespace]) -# ) - +# linux +AC_CHECK_LDFLAGS([-shared -Wl,--export-dynamic]) +#osx AC_CHECK_LDFLAGS([-bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup], , AC_CHECK_LDFLAGS([-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup], @@ -317,6 +314,7 @@ AC_CHECK_LDFLAGS([-bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup], + if test x${KERN} = xIRIX64; then LDFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -- cgit v1.2.1