From 90ce0e954f2ea0681e07deb81167716ff0394f3b Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 2 May 2021 10:34:00 -0700 Subject: [PATCH] builds on m1 (#137) --- SConstruct | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SConstruct b/SConstruct index de75cb3..04d31ad 100644 --- a/SConstruct +++ b/SConstruct @@ -14,9 +14,14 @@ cpppath = [ cereal_dir, messaging_dir, '/usr/lib/include', + '/opt/homebrew/include', sysconfig.get_paths()['include'], ] +libpath = [ + '/opt/homebrew/lib', +] + AddOption('--test', action='store_true', help='build test files') @@ -45,6 +50,7 @@ env = Environment( CFLAGS="-std=gnu11", CXXFLAGS="-std=c++1z", CPPPATH=cpppath, + LIBPATH=libpath, CYTHONCFILESUFFIX=".cpp", tools=["default", "cython"] )