From ad76fc157083bb9c7dcfe1c5eaf7a181680becbf Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Thu, 1 Dec 2022 18:27:50 -0500 Subject: [PATCH] allow multiple arguments to be passed when linking Python library --- python/olm_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/olm_build.py b/python/olm_build.py index 1fe2d77..c0faf63 100644 --- a/python/olm_build.py +++ b/python/olm_build.py @@ -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()