summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-24 00:54:40 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-10-26 10:17:17 -0700
commitdf76c3f1475f7df13f3771f6c23cae019bc10c8c (patch)
tree04149a1707c6cb6ba05edc74c42e74fc3f56bc0f /buildtools/wafsamba/wafsamba.py
parent20b526855607f4ceeb02bd3010cfd820c33be237 (diff)
downloadsamba-df76c3f1475f7df13f3771f6c23cae019bc10c8c.tar.gz
samba-df76c3f1475f7df13f3771f6c23cae019bc10c8c.tar.bz2
samba-df76c3f1475f7df13f3771f6c23cae019bc10c8c.zip
waf: build private libraries with so names.
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index eb0c3696cb..8e215de994 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -181,6 +181,12 @@ def SAMBA_LIBRARY(bld, libname, source,
else:
bundled_name = PRIVATE_NAME(bld, libname, bundled_extension, private_library)
+ if private_library:
+ if vnum:
+ Logs.error("vnum is invalid for private libraries")
+ sys.exit(1)
+ vnum = bld.env.PACKAGE_VERSION
+
features = 'cc cshlib symlink_lib install_lib'
if target_type == 'PYTHON':
features += ' pyext'
@@ -881,7 +887,6 @@ def subst_at_vars(task):
return 0
-
def PKG_CONFIG_FILES(bld, pc_files, vnum=None):
'''install some pkg_config pc files'''
dest = '${PKGCONFIGDIR}'