mirror of
https://github.com/nginx/nginx.git
synced 2024-12-27 01:11:13 -06:00
Configure: workaround for system perl on OS X (ticket #576).
This commit is contained in:
parent
bec7415b85
commit
52222dcda6
@ -52,6 +52,11 @@ if test -n "$NGX_PERL_VER"; then
|
||||
ngx_perl_ldopts=`echo $ngx_perl_ldopts | sed 's/ -pthread//'`
|
||||
fi
|
||||
|
||||
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//'`
|
||||
fi
|
||||
|
||||
CORE_LINK="$CORE_LINK $ngx_perl_ldopts"
|
||||
LINK_DEPS="$LINK_DEPS $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.$ngx_perl_dlext"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user