Mercurial > hg > nginx-quic
changeset 5722:baf2816d556d
Configure: workaround for system perl on OS X (ticket #576).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 17 Jun 2014 12:07:06 +0400 |
parents | 6ce251c860ba |
children | 0bd223a54619 |
files | auto/lib/perl/conf |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/auto/lib/perl/conf +++ b/auto/lib/perl/conf @@ -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"