Compare commits

...

6 Commits

Author SHA1 Message Date
royjr
baaa4cab42 Update SConscript 2026-03-09 20:36:57 -04:00
royjr
3538c8394f Merge branch 'master' into cabana-fixes 2026-03-09 20:34:00 -04:00
royjr
e840879911 Revert "Update chartswidget.cc"
This reverts commit 0611bd2c6d.
2026-03-09 20:33:47 -04:00
royjr
7261faef70 Revert "Update routes.cc"
This reverts commit 21935c2431.
2026-03-09 20:33:45 -04:00
royjr
21935c2431 Update routes.cc 2026-03-02 21:47:35 -05:00
royjr
0611bd2c6d Update chartswidget.cc 2026-03-02 21:47:32 -05:00

View File

@@ -1,8 +1,25 @@
import os
import subprocess
Import('env', 'arch', 'common', 'messaging', 'visionipc', 'cereal')
replay_env = env.Clone()
replay_env['CCFLAGS'] += ['-Wno-deprecated-declarations']
if arch == "Darwin":
openssl_prefixes = []
for formula in ("openssl@3", "openssl"):
try:
prefix = subprocess.check_output(['brew', '--prefix', formula], encoding='utf8').strip()
if os.path.isdir(prefix):
openssl_prefixes.append(prefix)
except (FileNotFoundError, subprocess.CalledProcessError):
continue
for prefix in openssl_prefixes:
replay_env['CPPPATH'] += [f"{prefix}/include"]
replay_env['LIBPATH'] += [f"{prefix}/lib"]
base_frameworks = []
base_libs = [common, messaging, cereal, visionipc, 'm', 'ssl', 'crypto', 'pthread']