From: Jeroen Dekkers Subject: Add so version number to private libraries for dpkg-shlibdeps Origin: vendor Forwarded: not-needed We also want dpkg-shlibdeps to generate correct dependency information for the private libraries in our binary packages, but dpkg-shlibdeps only works when the library has a version number. --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -207,6 +207,9 @@ raise Utils.WafError("public library '%s' must have header files" % libname) + if private_library and not vnum: + vnum = '0' + if target_type == 'PYTHON' or realname or not private_library: bundled_name = libname.replace('_', '-') else: