scons: How to force use of static library over shared?

Posted by codehero on Stack Overflow See other posts from Stack Overflow or by codehero
Published on 2010-06-07T02:08:28Z Indexed on 2010/06/07 2:12 UTC
Read the original article Hit count: 330

Filed under:

Hi, In my SConscript I have the following line:

Program("xtest", Split("main.cpp"), LIBS="mylib fltk Xft Xinerama Xext X11 m")

How do I get scons to use mylib.a instead of mylib.so, while linking dynamically with the other libraries?

© Stack Overflow or respective owner

Related posts about scons