diff options
author | Andreas Schneider <asn@samba.org> | 2017-11-27 19:37:49 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-01-08 21:04:16 +0100 |
commit | c5fb65121d8b26932eb9fb90474a2e5129c3f178 (patch) | |
tree | 1639dcf01b29193468542c32895db6a6acc8a50c /third_party | |
parent | 778d5fd00a69a6d29c9bf755864d32e737ac924d (diff) | |
download | samba-c5fb65121d8b26932eb9fb90474a2e5129c3f178.tar.gz |
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 <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan 8 21:04:16 CET 2018 on sn-devel-144
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/pam_wrapper/wscript | 8 |
1 files 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) |