diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-21 08:28:12 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-21 19:03:24 +1100 |
commit | dc00b773fc67ff55567e3c159749f1e55f4a5b1f (patch) | |
tree | fb0ad5eb589c1c91a148c18f70205014221724f8 | |
parent | 29c0b86126c2eb4e5c921f63b10e796bce647e1a (diff) | |
download | samba-dc00b773fc67ff55567e3c159749f1e55f4a5b1f.tar.gz samba-dc00b773fc67ff55567e3c159749f1e55f4a5b1f.tar.bz2 samba-dc00b773fc67ff55567e3c159749f1e55f4a5b1f.zip |
wrapper: make socket_wrapper, uid_wrapper and nss_wrapper private libs
this prevents double instantiation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | lib/nss_wrapper/wscript_build | 9 | ||||
-rw-r--r-- | lib/socket_wrapper/wscript_build | 9 | ||||
-rw-r--r-- | lib/uid_wrapper/wscript_build | 9 |
3 files changed, 15 insertions, 12 deletions
diff --git a/lib/nss_wrapper/wscript_build b/lib/nss_wrapper/wscript_build index 4adb48e36d..a293d54929 100644 --- a/lib/nss_wrapper/wscript_build +++ b/lib/nss_wrapper/wscript_build @@ -1,8 +1,9 @@ #!/usr/bin/env python -bld.SAMBA_SUBSYSTEM('NSS_WRAPPER', - source='nss_wrapper.c', - deps='replace' - ) +bld.SAMBA_LIBRARY('NSS_WRAPPER', + source='nss_wrapper.c', + deps='replace', + private_library=True + ) diff --git a/lib/socket_wrapper/wscript_build b/lib/socket_wrapper/wscript_build index b860fbe9ad..a3546a0e22 100644 --- a/lib/socket_wrapper/wscript_build +++ b/lib/socket_wrapper/wscript_build @@ -1,7 +1,8 @@ #!/usr/bin/env python -bld.SAMBA_SUBSYSTEM('SOCKET_WRAPPER', - source='socket_wrapper.c', - group='base_libraries', - deps='replace') +bld.SAMBA_LIBRARY('SOCKET_WRAPPER', + source='socket_wrapper.c', + group='base_libraries', + private_library=True, + deps='replace') diff --git a/lib/uid_wrapper/wscript_build b/lib/uid_wrapper/wscript_build index 019f44fd68..ec95d6c83c 100644 --- a/lib/uid_wrapper/wscript_build +++ b/lib/uid_wrapper/wscript_build @@ -1,8 +1,9 @@ #!/usr/bin/env python -bld.SAMBA_SUBSYSTEM('UID_WRAPPER', - source='uid_wrapper.c', - deps='talloc' - ) +bld.SAMBA_LIBRARY('UID_WRAPPER', + source='uid_wrapper.c', + deps='talloc', + private_library=True + ) |