Klaus Demo nginx / 52222dc
Configure: workaround for system perl on OS X (ticket #576). Maxim Dounin 6 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5151 ngx_perl_ldopts=`echo $ngx_perl_ldopts | sed 's/ -pthread//'`
5252 fi
5353
54 if [ "$NGX_SYSTEM" = "Darwin" ]; then
55 # OS X system perl wants to link universal binaries
56 ngx_perl_ldopts=`echo $ngx_perl_ldopts | sed -e 's/-arch x86_64 -arch i386//'`
57 fi
58
5459 CORE_LINK="$CORE_LINK $ngx_perl_ldopts"
5560 LINK_DEPS="$LINK_DEPS $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.$ngx_perl_dlext"
5661