mirror of https://github.com/nodejs/node.git
Make sure GNUTLS is first on uselib
Why? Because I have two versions of GnuTLS installed - one is old 2.0.X in /usr and one is new 2.5.X in ~/local/gnutls. waf correctly finds that the newer version, but because GNUTLS was behind other libraries in the node.uselib -L/usr/lib was before -L/home/ryan/local/gnutls/lib in the actual gcc command - hence getting link errors. WAF SUCKS, really. I wish someone would invent a good build system that could avoid such problems.pull/22966/head
parent
a3631a383b
commit
c4397b801a
2
wscript
2
wscript
|
@ -351,7 +351,7 @@ def build(bld):
|
|||
"""
|
||||
node.add_objects = 'ev eio evcom http_parser coupling'
|
||||
node.uselib_local = ''
|
||||
node.uselib = 'UDNS V8 EXECINFO DL KVM GPGERROR GNUTLS'
|
||||
node.uselib = 'GNUTLS GPGERROR UDNS V8 EXECINFO DL KVM'
|
||||
|
||||
node.install_path = '${PREFIX}/lib'
|
||||
node.install_path = '${PREFIX}/bin'
|
||||
|
|
Loading…
Reference in New Issue