cmake: Explicitly mark static libraries as such
authorRafael Fonseca <rdossant@redhat.com>
Sun, 5 Mar 2017 17:09:54 +0000 (18:09 +0100)
committerRafael Fonseca <rdossant@redhat.com>
Sun, 5 Mar 2017 17:09:54 +0000 (18:09 +0100)
commitdbea13782363cd3bfe6757285afa08d75fcf14cb
tree5252f8e19e1964fa8281c3b7bd82592fcbc3f6f1
parent956ca1c8c6269f2c0c5f1d44886856bb72e08da2
cmake: Explicitly mark static libraries as such

Some distros (e.g Fedora) override the default behaviour of building
static libraries to building dynamic ones instead. By explicitly
building the correct libraries as static, we make sure BCC properly
compiles everywhere.
src/cc/CMakeLists.txt
src/cc/frontends/b/CMakeLists.txt
src/cc/frontends/clang/CMakeLists.txt