From c5fb65121d8b26932eb9fb90474a2e5129c3f178 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 27 Nov 2017 19:37:49 +0100 Subject: [PATCH] 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 --- third_party/pam_wrapper/wscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.47.3