--- lib/talloc/wscript.orig 2019-05-07 08:38:21 UTC +++ lib/talloc/wscript @@ -45,13 +45,14 @@ def configure(conf): conf.env.TALLOC_COMPAT1 = False if conf.env.standalone_talloc: conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1 - conf.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' + conf.env.PKGCONFIGDIR = '%%PKGCONFIGDIR%%' conf.env.TALLOC_VERSION = VERSION conf.CHECK_XSLTPROC_MANPAGES() conf.CHECK_HEADERS('sys/auxv.h') conf.CHECK_FUNCS('getauxval') + conf.CHECK_FUNCS('arc4random') conf.SAMBA_CONFIG_H()