summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-03 16:36:34 +1000
committerKarolin Seeger <kseeger@samba.org>2012-11-02 09:23:52 +0100
commit4ffd5244475b7f3b21a369f2eea2ec66f17028e4 (patch)
treeb1990066a9bf13af3748d1ac1e82a524d6c684d3 /nsswitch
parentf4581f3bb1d0e7867de41595ec74fb5a5a57dbd8 (diff)
downloadsamba-4ffd5244475b7f3b21a369f2eea2ec66f17028e4.tar.gz
selftest: Always build a linux-style nss_winbind for nss_wrapper
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wscript_build9
1 files changed, 9 insertions, 0 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 3931445ea1b..97f0af55a11 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -14,6 +14,15 @@ bld.SAMBA_BINARY('nsstest',
deps='replace dl'
)
+# The nss_wrapper code relies strictly on the linux implementation and
+# name, so compile but do not install a copy under this name.
+bld.SAMBA_LIBRARY('nss_wrapper_winbind',
+ source='winbind_nss_linux.c',
+ deps='winbind-client',
+ realname='libnss_wrapper_winbind.so.2',
+ install=False,
+ vnum='2')
+
if Utils.unversioned_sys_platform() == 'linux':
bld.SAMBA_LIBRARY('nss_winbind',
source='winbind_nss_linux.c',