From 973c04dc427ddddc3e1dee8bf20af0c8c99577dd Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 1 Jul 2023 18:14:48 -0700 Subject: [PATCH] fix build with swaglog (#29) --- rednose/SConscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rednose/SConscript b/rednose/SConscript index 07ec60e..398b4b4 100644 --- a/rednose/SConscript +++ b/rednose/SConscript @@ -34,7 +34,11 @@ libkf = env.SharedLibrary(f'{generated_folder}/libkf', lib_target) lenv = envCython.Clone() lenv["LINKFLAGS"] += [libkf[0].get_labspath()] -lenv["LIBS"] = [common] + lenv["LIBS"] + +# for SWAGLOG support +if common != "": + lenv["LIBS"] = ['zmq', common] + lenv["LIBS"] + ekf_sym_so = lenv.Program('#rednose/helpers/ekf_sym_pyx.so', [ekf_sym_pyx, ekf_sym_cc, common_ekf]) lenv.Depends(ekf_sym_so, libkf)