from waflib.Configure import conf
from wafsamba import samba_utils
-def PRIVATE_NAME(bld, name, private_extension, private_library):
+def PRIVATE_NAME(bld, name, private_extension):
'''possibly rename a library to include a bundled extension'''
- if not private_library:
- return name
-
# we now use the same private name for libraries as the public name.
# see http://git.samba.org/?p=tridge/junkcode.git;a=tree;f=shlib for a
# demonstration that this is the right thing to do
if abi_directory or vnum or soname:
bundled_extension=True
bundled_name = PRIVATE_NAME(bld, libname.replace('_', '-'),
- bundled_extension, private_library)
+ bundled_extension)
ldflags = TO_LIST(ldflags)
if bld.env['ENABLE_RELRO'] is True: