X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=2344cdb57e65b8bb09970a873f754a096bfb2ae5;hb=c57f2a191b63ce73fc432befebe9fa3af97c8eb5;hp=3514572e5b59e21ec50912319d8db7ae3d9d0093;hpb=2dfe59bc808f1b58226c752511318ebe9f78e34e;p=collectd.git diff --git a/configure.in b/configure.in index 3514572e..2344cdb5 100644 --- a/configure.in +++ b/configure.in @@ -1802,8 +1802,9 @@ if test "x$with_libperl" = "xyes" \ then SAVE_CFLAGS=$CFLAGS SAVE_LDFLAGS=$LDFLAGS - PERL_CFLAGS=`$perl_interpreter -MExtUtils::Embed -e ccopts` - PERL_LDFLAGS=`$perl_interpreter -MExtUtils::Embed -e ldopts` +dnl ARCHFLAGS="" -> disable multi -arch on OSX (see Config_heavy.pl:fetch_string) + PERL_CFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ccopts` + PERL_LDFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ldopts` CFLAGS="$CFLAGS $PERL_CFLAGS" LDFLAGS="$LDFLAGS $PERL_LDFLAGS"