From 0e037bfc60162aa094df3e3cda59f7b9c2327ca9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 3 Oct 2012 16:36:34 +1000 Subject: selftest: Always build a linux-style nss_winbind for nss_wrapper --- nsswitch/wscript_build | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nsswitch') 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', -- cgit