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
Ryan Dahl 2010-01-12 01:09:50 -08:00
parent a3631a383b
commit c4397b801a
1 changed files with 1 additions and 1 deletions

View File

@ -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'