diff --git a/opendbc/can/SConscript b/opendbc/can/SConscript index a15aa6927e..9f6825a93f 100644 --- a/opendbc/can/SConscript +++ b/opendbc/can/SConscript @@ -13,6 +13,7 @@ libdbc = envDBC.SharedLibrary('libdbc', src, LIBS=[common, ], LINKFLAGS=LINKFLAG # Build packer and parser lenv = envCython.Clone() +lenv["LIBPATH"].append(Dir(".")) lenv["RPATH"] = [libdbc[0].dir.abspath, ] 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])