Skip to content

Commit

Permalink
py lib
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Jul 18, 2024
1 parent 1139a9d commit 6073df9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ env = Environment(
"-Werror=format-extra-args",
"-Wshadow",
],
LIBPATH=libpath + ["#rednose/examples/generated", '/opt/homebrew/lib'],
LIBPATH=libpath + ["#rednose/examples/generated"],
CFLAGS="-std=gnu11",
CXXFLAGS="-std=c++1z",
CPPPATH=cpppath,
Expand All @@ -60,6 +60,7 @@ envCython["CCFLAGS"] += ["-Wno-#warnings", "-Wno-shadow", "-Wno-deprecated-decla

envCython["LIBS"] = []
if arch == "Darwin":
envCython["CPPPATH"] += [python_path, np.get_include()]
envCython["LINKFLAGS"] = ["-bundle", "-undefined", "dynamic_lookup"]
elif arch == "aarch64":
envCython["LINKFLAGS"] = ["-shared"]
Expand Down

0 comments on commit 6073df9

Please sign in to comment.