Hi Nitzan,
It is hard to say exactly what is causing it without deeper investigation. We currently don't build static libraries right now. My initial thoughts are a lot of code is getting pulled in from our 3rd party dependencies (Boost, websocketpp, OpenSSL) that all will be eliminated when linked with an actual executable. If you are just keeping and using the static libs on your machine and building your application this is probably a non-issue. There seems to be several threads on stackoverflow about this, if you really want to try and reduce you could try turning off whole program optimization as suggested here.
Steve
It is hard to say exactly what is causing it without deeper investigation. We currently don't build static libraries right now. My initial thoughts are a lot of code is getting pulled in from our 3rd party dependencies (Boost, websocketpp, OpenSSL) that all will be eliminated when linked with an actual executable. If you are just keeping and using the static libs on your machine and building your application this is probably a non-issue. There seems to be several threads on stackoverflow about this, if you really want to try and reduce you could try turning off whole program optimization as suggested here.
Steve