mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
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.
This commit is contained in:
@@ -57,7 +57,7 @@ if test -n "$NGX_PERL_VER"; then
|
|||||||
if [ "$NGX_SYSTEM" = "Darwin" ]; then
|
if [ "$NGX_SYSTEM" = "Darwin" ]; then
|
||||||
# OS X system perl wants to link universal binaries
|
# OS X system perl wants to link universal binaries
|
||||||
ngx_perl_ldopts=`echo $ngx_perl_ldopts \
|
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
|
fi
|
||||||
|
|
||||||
CORE_LINK="$CORE_LINK $ngx_perl_ldopts"
|
CORE_LINK="$CORE_LINK $ngx_perl_ldopts"
|
||||||
|
|||||||
Reference in New Issue
Block a user