diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-01-25 17:27:06 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-01-25 17:27:06 +0000 |
commit | 899167668fdbc225a27217fd812f4fb7b311d6b8 (patch) | |
tree | 5fbf0639b5825686938f73b3a2bb0932c5aa6fac | |
parent | 90924330e10a69090c3d8b3eb2257359e4c9bc98 (diff) |
be more specific with ldflags test for "-shared"
svn path=/trunk/externals/zexy/; revision=13091
-rw-r--r-- | src/configure.ac | 10 |
1 files 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 \ |