Skip to content

Commit

Permalink
more robust libdbc linking
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Aug 18, 2024
1 parent d377af6 commit 5ed7a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendbc/can/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ libdbc = envDBC.SharedLibrary('libdbc', src, LIBS=[common, ], LINKFLAGS=LINKFLAG
# Build packer and parser
lenv = envCython.Clone()
lenv["RPATH"] = [libdbc[0].dir.abspath, ]
parser = lenv.Program('parser_pyx.so', 'parser_pyx.pyx', LIBS=[common, libdbc])
packer = lenv.Program('packer_pyx.so', 'packer_pyx.pyx', LIBS=[common, libdbc])
parser = lenv.Program('parser_pyx.so', 'parser_pyx.pyx', LIBS=[common, libdbc[0].name])
packer = lenv.Program('packer_pyx.so', 'packer_pyx.pyx', LIBS=[common, libdbc[0].name])

opendbc_python = Alias("opendbc_python", [parser, packer])

Expand Down

0 comments on commit 5ed7a83

Please sign in to comment.