diff --git a/opendbc/can/SConscript b/opendbc/can/SConscript index aed8b5423a..a15aa6927e 100644 --- a/opendbc/can/SConscript +++ b/opendbc/can/SConscript @@ -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])