allow multiple arguments to be passed when linking Python library

This commit is contained in:
Hubert Chathi 2022-12-01 18:27:50 -05:00
parent b5d68376b5
commit ad76fc1570

View file

@ -38,7 +38,7 @@ if DEVELOP and DEVELOP.lower() in ["yes", "true", "1"]:
# so. # so.
CXX_LIB = os.environ.get("CXX_LIB") CXX_LIB = os.environ.get("CXX_LIB")
if CXX_LIB: if CXX_LIB:
link_args.append(CXX_LIB) link_args.extend(CXX_LIB.split())
headers_build = subprocess.Popen("make headers", shell=True) headers_build = subprocess.Popen("make headers", shell=True)
headers_build.wait() headers_build.wait()