summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-03 16:36:34 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-10-03 14:25:57 +0200
commit0e037bfc60162aa094df3e3cda59f7b9c2327ca9 (patch)
tree02db6215a55cdd4044992157135ebd79f9721fd3 /nsswitch
parentdf23b17fa99409f680bbda3abcbb6d8eb7c498b0 (diff)
downloadsamba-0e037bfc60162aa094df3e3cda59f7b9c2327ca9.tar.gz
samba-0e037bfc60162aa094df3e3cda59f7b9c2327ca9.tar.bz2
samba-0e037bfc60162aa094df3e3cda59f7b9c2327ca9.zip
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 3931445ea1..97f0af55a1 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',