diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-08 18:15:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-08 18:15:55 +0000 |
commit | d69a419e682c2d39c2355105a7e5e2b90357c8f0 (patch) | |
tree | c851cd13031ef83e1ae95783d6dd804d33692a8f /configure | |
parent | eeb6cb143a005641841e718cb8638bc0c684ec25 (diff) | |
download | postgresql-d69a419e682c2d39c2355105a7e5e2b90357c8f0.tar.gz |
Remove any -arch switches given in ExtUtils::Embed's ldopts from our
perl_embed_ldflags setting. On OS X it seems that ExtUtils::Embed is
trying to force a universal binary to be built, but you need to specify
that a lot further upstream if you want Postgres built that way; the only
result of including -arch in perl_embed_ldflags is some warnings at the
plperl.so link step. Per my complaint and Jan Otto's suggestion.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6943,7 +6943,7 @@ $as_echo "$perl_useshrplib" >&6; } $as_echo_n "checking for flags to link embedded Perl... " >&6; } pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` -perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` +perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%" -e "s/ -arch [-a-zA-Z0-9_]*//g"` if test -z "$perl_embed_ldflags" ; then { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } |