Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: workaround for system perl on OS X (ticket #5...

Maxim Dounin
June 17, 2014 04:44AM
details: http://hg.nginx.org/nginx/rev/baf2816d556d
branches:
changeset: 5722:baf2816d556d
user: Maxim Dounin <mdounin@mdounin.ru>
date: Tue Jun 17 12:07:06 2014 +0400
description:
Configure: workaround for system perl on OS X (ticket #576).

diffstat:

auto/lib/perl/conf | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff --git a/auto/lib/perl/conf b/auto/lib/perl/conf
--- 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"


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: workaround for system perl on OS X (ticket #5...

Maxim Dounin 562 June 17, 2014 04:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 144
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready