summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/nss_wrapper/wscript_build3
-rw-r--r--lib/socket_wrapper/wscript_build1
-rw-r--r--lib/uid_wrapper/wscript_build3
3 files changed, 5 insertions, 2 deletions
diff --git a/lib/nss_wrapper/wscript_build b/lib/nss_wrapper/wscript_build
index 80045731c7..5f9df3a600 100644
--- a/lib/nss_wrapper/wscript_build
+++ b/lib/nss_wrapper/wscript_build
@@ -4,6 +4,7 @@
bld.SAMBA_LIBRARY('nss_wrapper',
source='nss_wrapper.c',
deps='replace',
- private_library=True
+ private_library=True,
+ enabled=bld.CONFIG_SET("NSS_WRAPPER"),
)
diff --git a/lib/socket_wrapper/wscript_build b/lib/socket_wrapper/wscript_build
index e100ccc6fe..a81c7aa61a 100644
--- a/lib/socket_wrapper/wscript_build
+++ b/lib/socket_wrapper/wscript_build
@@ -4,5 +4,6 @@ bld.SAMBA_LIBRARY('socket_wrapper',
source='socket_wrapper.c',
group='base_libraries',
private_library=True,
+ enabled=bld.CONFIG_SET('SOCKET_WRAPPER'),
deps='replace')
diff --git a/lib/uid_wrapper/wscript_build b/lib/uid_wrapper/wscript_build
index 2cb9868dec..54e5b80f43 100644
--- a/lib/uid_wrapper/wscript_build
+++ b/lib/uid_wrapper/wscript_build
@@ -4,6 +4,7 @@
bld.SAMBA_LIBRARY('uid_wrapper',
source='uid_wrapper.c',
deps='talloc',
- private_library=True
+ private_library=True,
+ enabled=bld.CONFIG_SET("UID_WRAPPER"),
)