From b06bc9b6bc798870324b4ceaed351cae0bfe24b3 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 14 Dec 2020 01:23:57 -0800 Subject: [PATCH] fix aarch64 build --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index bc77fb25a3..374e3bc745 100644 --- a/SConstruct +++ b/SConstruct @@ -241,7 +241,7 @@ if arch == "Darwin": envCython["LINKFLAGS"] = ["-bundle", "-undefined", "dynamic_lookup"] elif arch == "aarch64": envCython["LINKFLAGS"] = ["-shared"] - envCython["LIBS"] = os.path.basename(py_include) + envCython["LIBS"] = [os.path.basename(py_include)] else: envCython["LINKFLAGS"] = ["-pthread", "-shared"]