Skip to content

Commit

Permalink
multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed Jul 5, 2024
1 parent c015912 commit 5d8fdfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion can/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ src = ["dbc.cc", "parser.cc", "packer.cc", "common.cc"]
libs = [common, "capnp", "kj", "zmq"]

# shared library for openpilot
LINKFLAGS = envDBC["LINKFLAGS"] + ["-Wl,-install_name,@loader_path/libdbc.dylib"] if arch == "Darwin" else envDBC["LINKFLAGS"]
LINKFLAGS = envDBC["LINKFLAGS"]
if arch == "Darwin":
LINKFLAGS += ["-Wl,-install_name,@loader_path/libdbc.dylib"]
libdbc = envDBC.SharedLibrary('libdbc', src, LIBS=libs, LINKFLAGS=LINKFLAGS)

# static library for tools like cabana
Expand Down

0 comments on commit 5d8fdfe

Please sign in to comment.