[Scons-users] Why scons doesn't pick up libxml2 into the link lines?

Yuri yuri at rawbw.com
Mon Nov 24 21:01:26 EST 2014


I am looking into the case when SConscript has this line:
libs['XML_PC'] = {'checks':{'libxml-2.0':'>= 2.9.2'}}
but -lxml2 doesn't get added to the link command.

pkg-config result seems reasonable:
# pkg-config --libs libxml-2.0
-L/usr/local/lib -lxml2

But -lxml2 doesn't get into the link line, and build fails.

What might be wrong here?

scons-2.3.0_1 on FreeBSD-10.1

Yuri


More information about the Scons-users mailing list