Does anybody understand waf's linking libraries?

Gary E. Miller gem at rellim.com
Wed Sep 4 01:26:49 UTC 2019


Yo Hal!

On Tue, 03 Sep 2019 18:14:42 -0700
Hal Murray via devel <devel at ntpsec.org> wrote:

> The symptom is that build is finding the new includes but linking
> with the old libraries.

Ouch.  So the search order for includes does not match the search
order for libraries.

You could make the search order match, but then you have a 50/50
chance of getting the proper libs.

I would just specify the include and library search orders so you
get the right one.

Basically:
	CFLAGS = "-I/ssl_dir -L/lib_dir"

YMMV...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190903/b5e70fe2/attachment.bin>


More information about the devel mailing list