A section of the scons User Guide on Linking to Libraries may be useful. You just need to install LIBS in the list of libraries that you want to link, and LIBPATH from the library path. If you are linking to a library named libmrpt.so , use LIBS = ['mrpt'] .
Depending on whether it is a common library for communication or just used once, you can install LIBS and LIBPATH in your environment (1) or for one purpose (2):
env = Environment(CPPPATH = ['path/to/headers'], LIBS = ['mrpt'], LIBPATH = ['path/to/lib']) # (1) ... myprog = env.Program('my_program', [...sources...], LIBS = ['mrpt'], LIBPATH = ['path/to/lib']) # (2)
source share