allow multiple arguments to be passed when linking Python library

js-nix
Hubert Chathi 2022-12-01 18:27:50 -05:00
parent b5d68376b5
commit ad76fc1570
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ if DEVELOP and DEVELOP.lower() in ["yes", "true", "1"]:
# so.
CXX_LIB = os.environ.get("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.wait()