From 3e017aa7e51df02d257fbac352ae79fc29aadc68 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 29 Nov 2018 15:40:48 +0000 Subject: buildtools/wafsamba Provide proper pc file To support building by default python3 we need to fix assumption that only extra-python with py3 has valid PYTHON_SO_ABI_FLAG used to create alt name for pc file. Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- buildtools/wafsamba/wafsamba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools/wafsamba/wafsamba.py') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 906ae9e75b6..f31432a0148 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -323,7 +323,7 @@ def SAMBA_LIBRARY(bld, libname, source, t.link_name = link_name if pc_files is not None and not private_library: - if pyembed and bld.env['IS_EXTRA_PYTHON']: + if pyembed: bld.PKG_CONFIG_FILES(pc_files, vnum=vnum, extra_name=bld.env['PYTHON_SO_ABI_FLAG']) else: bld.PKG_CONFIG_FILES(pc_files, vnum=vnum) -- cgit v1.2.1