build: Do not build selftest binaries for builds without --enable-selftest
[samba.git] / nsswitch / wscript_build
index 861ed2f23bf41d9f1082e0a93dfb14fc20878dcb..b754c1684253ae995de3b0aa487008be2b1c545a 100644 (file)
@@ -14,14 +14,14 @@ bld.SAMBA_LIBRARY('winbind-client',
 bld.SAMBA_BINARY('nsstest',
                 source='nsstest.c',
                 deps='replace dl',
-                 install=False
+                 for_selftest=True
                 )
 
 if bld.CONFIG_SET('HAVE_PTHREAD'):
     bld.SAMBA_BINARY('stress-nss-libwbclient',
                     source='stress-nss-libwbclient.c',
                     deps='wbclient pthread',
-                    install=False
+                    for_selftest=True
                     )
 
 # The nss_wrapper code relies strictly on the linux implementation and