Browse Source

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.
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
c4397b801a
  1. 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…
Cancel
Save