Do not add spaces in front of LINKFLAGS and GSSAPI_LIBS

This commit is contained in:
adam 2015-11-25 10:46:24 +00:00
parent 33340dc2c1
commit 83f05ca954
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.19 2015/11/04 02:47:38 agc Exp $
$NetBSD: distinfo,v 1.20 2015/11/25 10:46:24 adam Exp $
SHA1 (serf-1.3.8.tar.bz2) = 1d45425ca324336ce2f4ae7d7b4cfbc5567c5446
RMD160 (serf-1.3.8.tar.bz2) = ea2f8e70289fa09cffcbe20fdc8257a13671a609
SHA512 (serf-1.3.8.tar.bz2) = 78787a0d1e3e72dd9afc2e0de65e9af3b4303fefdcb865bd5e087fae570a7fe4d1395ce021756db4685c6e63e31c495563afe57baf677bf9846657f5d63d4205
Size (serf-1.3.8.tar.bz2) = 143337 bytes
SHA1 (patch-SConstruct) = c7f3e9e0c778e76808e4a921043723fcfca6a4de
SHA1 (patch-SConstruct) = 9cb00daf919515062b178b8f04264e81ccfaf003
SHA1 (patch-buckets_ssl__buckets.c) = f940e1703d3a8cf879d5a563cf57826f027ed8e1

View file

@ -1,4 +1,4 @@
$NetBSD: patch-SConstruct,v 1.5 2014/02/12 14:35:11 jperkin Exp $
$NetBSD: patch-SConstruct,v 1.6 2015/11/25 10:46:24 adam Exp $
Hack: Use OPENSSL variable as final shared library path; fixes lib id on Darwin.
Don't append -O2 compiler flag.
@ -36,8 +36,8 @@ Don't append -O2 compiler flag.
+for l in env['LDFLAGS']:
+ if l.startswith('-l'):
+ env.Append(LINKFLAGS=" " + l)
+ env.Append(GSSAPI_LIBS=" " + l)
+ env.Append(LINKFLAGS=l)
+ env.Append(GSSAPI_LIBS=l)
+
# Set up the construction of serf-*.pc
pkgconfig = env.Textfile('serf-%d.pc' % (MAJOR,),