[Scons-users] static linking

Kraus Philipp philipp.kraus at flashpixx.de
Sun Jun 17 13:53:01 EDT 2012


Hello,

which way support scons to link libraries in a static way? At the moment I use dynamic linking with the gcc -l flags, but which way is correct for using static linking?
I have found in different tutorials that I should add the full path to my static library like gcc ... /mylib/libmylib.a but I use the Scons AutoConf option and this checks only
for the dynamic libraries (*.so).

So it seems there exists no way to use Scons AutoConf with static libraries. Is this correct?

Thanks

Phil



More information about the Scons-users mailing list