waf and pkg-config

Andreas Schneider asn at samba.org
Tue Apr 7 09:23:19 MDT 2015


trying to fix systemd detection, I found out that waf and pkg-config is simply 
not working.

I do

    conf.check_cfg(package='libsystemd-daemon', args='--cflags --libs',
                   msg='Checking for libsystemd-daemon')

and in the end I can't simply use libsystem-daemon as a dependency. So *I* 
have to implement library detection again with CHECK_LIB and check all names 
pkg-config might return on different Linux version?


Attached is a patch which hacks library detection in waf ...

	-- andreas

Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-waf-Fix-systemd-detection.patch
Type: text/x-patch
Size: 4169 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150407/b65f72a9/attachment.bin>

More information about the samba-technical mailing list