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"]