]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove dual-arch cflags and ldflags that we get on osx, we don't support fat binary...
authorMichael Jerris <mike@jerris.com>
Tue, 17 Jun 2014 19:22:34 +0000 (19:22 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 17 Jun 2014 19:22:34 +0000 (19:22 +0000)
configure.ac

index b257069443a9b2fe173d2a7f50dca73e9ae3e948..61d4ca1645ac61d56eaa92918b4fb0d22a255282 100644 (file)
@@ -1238,8 +1238,8 @@ if test "x$ac_cv_have_perl" != "xno"; then
    PERL_SITEDIR="`$PERL -MConfig -e 'print $Config{archlib}'`"
    PERL_LIBDIR="-L`$PERL -MConfig -e 'print $Config{archlib}'`/CORE"
    PERL_LIBS="`$PERL -MConfig -e 'print $Config{libs}'`"
-   PERL_CFLAGS="-w -DMULTIPLICITY `$PERL -MExtUtils::Embed -e ccopts` -DEMBED_PERL"
-   PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts`"
+   PERL_CFLAGS="-w -DMULTIPLICITY `$PERL -MExtUtils::Embed -e ccopts | sed -e 's|-arch x86_64 -arch i386||'` -DEMBED_PERL"
+   PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts| sed -e 's|-arch x86_64 -arch i386||'`"
    PERL_INC="`$PERL -MExtUtils::Embed -e perl_inc`"
 
    save_CFLAGS="$CFLAGS"