waf and pkg-config

Jelmer Vernooij jelmer at samba.org
Tue Apr 7 12:11:32 MDT 2015

On Tue, Apr 07, 2015 at 05:23:19PM +0200, Andreas Schneider wrote:
> 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?

See source4/lib/tls/wscript:24 for an example.



More information about the samba-technical mailing list