From: Andreas Schneider Date: Mon, 27 Nov 2017 18:37:49 +0000 (+0100) Subject: pwrap: Build libpamtest as a subsystem to avoid issues X-Git-Tag: talloc-2.1.11~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5fb65121d8b26932eb9fb90474a2e5129c3f178;p=thirdparty%2Fsamba.git pwrap: Build libpamtest as a subsystem to avoid issues Making it a subsystem adds the correct include directory for libpamtest.h. Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Mon Jan 8 21:04:16 CET 2018 on sn-devel-144 --- diff --git a/third_party/pam_wrapper/wscript b/third_party/pam_wrapper/wscript index 75b4eec2314..b9acf1b96eb 100644 --- a/third_party/pam_wrapper/wscript +++ b/third_party/pam_wrapper/wscript @@ -109,9 +109,13 @@ def build(bld): install=False, realname='libpam-wrapper.so') + bld.SAMBA_SUBSYSTEM('libpamtest', + source='libpamtest.c', + deps='dl pam') + # Can be used to write pam tests in python for env in bld.gen_python_environments(): bld.SAMBA_PYTHON('pypamtest', - source='python/pypamtest.c libpamtest.c', - deps='dl pam', + source='python/pypamtest.c', + deps='libpamtest', install=False)