Remove any -arch switches given in ExtUtils::Embed's ldopts from our
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Sep 2009 18:15:55 +0000 (18:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Sep 2009 18:15:55 +0000 (18:15 +0000)
commit5f69e9a3788f95c22d26e8de5fef4d5e02bce1af
treee916f09173e1995be1d0e73fe7fa02a4330fdf2d
parent78850061868f8855a097393e199b43fe22846068
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.
config/perl.m4
configure