summaryrefslogtreecommitdiffstats
path: root/nsswitch
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-12-18 10:33:34 +0100
committerStefan Metzmacher <metze@samba.org>2014-12-19 13:15:12 +0100
commit575b093dac3c509b1bfaab0b4ad29b9b4214e487 (patch)
treeedcacdbb737342a9e25c6ed5316bea30d6f54914 /nsswitch
parent4eb24fa545234be506eb1330ccbbfd5c2b9e0d82 (diff)
downloadsamba-575b093dac3c509b1bfaab0b4ad29b9b4214e487.tar.gz
samba-575b093dac3c509b1bfaab0b4ad29b9b4214e487.tar.xz
samba-575b093dac3c509b1bfaab0b4ad29b9b4214e487.zip
nsswitch: fix soname of linux nss_*.so.2 modules
Bug: https://bugzilla.samba.org/show_bug.cgi?id=9299 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wscript_build24
1 files changed, 18 insertions, 6 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 8ceb9ad6f2..381ff44a66 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -30,12 +30,24 @@ bld.SAMBA_LIBRARY('nss_wrapper_winbind',
# the search for .rfind('gnu') covers gnu* and *-gnu is that too broad?
if (Utils.unversioned_sys_platform() == 'linux' or (host_os.rfind('gnu') > -1)):
- bld.SAMBA_LIBRARY('nss_winbind',
- source='winbind_nss_linux.c',
- deps='winbind-client',
- realname='libnss_winbind.so.2',
- soname='libnss_winbind.so',
- vnum='2')
+ bld.SAMBA_LIBRARY('nss_winbind',
+ keep_underscore=True,
+ source='winbind_nss_linux.c',
+ deps='winbind-client',
+ public_headers=[],
+ public_headers_install=False,
+ pc_files=[],
+ vnum='2')
+
+ # for nss_wins is linux only
+ bld.SAMBA3_LIBRARY('nss_wins',
+ keep_underscore=True,
+ source='wins.c',
+ deps='''param libsmb LIBTSOCKET''',
+ public_headers=[],
+ public_headers_install=False,
+ pc_files=[],
+ vnum='2')
elif (host_os.rfind('freebsd') > -1):
# FreeBSD winbind client is implemented as a wrapper around
# the Linux version.