waf: Don't abuse static libraries
commit7ac4bf3d24a08533e2557c30624aa961c3547c4e
authorColomban Wendling <ban@herbesfolles.org>
Mon, 6 Apr 2015 00:22:53 +0000 (6 02:22 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Fri, 10 Apr 2015 14:16:19 +0000 (10 16:16 +0200)
tree7006ed0f8e052dfd3a131e2220e9ba93536c6f53
parent01db7f0cac907d283a84976ff3b542160c317a7a
waf: Don't abuse static libraries

Instead of abusing static libraries putting shared objects in them, and
manually setting the flags required to build shared objects, use sets
of objects and Waf's own cshlib/cxxshlib flags.

Also explicitly call the appropriate build context method instead of
only listing features in order to make it clear what is built.

Some references:
* http://docs.waf.googlecode.com/git/book_16/single.html#_predefined_task_generators
* http://docs.waf.googlecode.com/git/book_16/single.html#_local_libraries
* https://code.google.com/p/waf/issues/detail?id=1398
wscript