Mercurial > hg > nginx-quic
diff auto/lib/perl/conf @ 6308:7e241b36819d
Configure: improved workaround for system perl on OS X.
The workaround from baf2816d556d stopped to work because the order of
"-arch x86_64" and "-arch i386" has changed.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 30 Nov 2015 12:04:29 +0300 |
parents | dde2ae4701e1 |
children | 39a806ccf21e |
line wrap: on
line diff
--- a/auto/lib/perl/conf +++ b/auto/lib/perl/conf @@ -57,7 +57,7 @@ if test -n "$NGX_PERL_VER"; then if [ "$NGX_SYSTEM" = "Darwin" ]; then # OS X system perl wants to link universal binaries ngx_perl_ldopts=`echo $ngx_perl_ldopts \ - | sed -e 's/-arch x86_64 -arch i386//'` + | sed -e 's/-arch i386//' -e 's/-arch x86_64//'` fi CORE_LINK="$CORE_LINK $ngx_perl_ldopts"