diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-01-17 16:21:48 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-01-17 17:47:42 +0200 |
commit | 92bede3900e84d4f08efb81757ec95c518c7fa76 (patch) | |
tree | 2e7de9d1dc1ba7817ed2d07d356dfdf610ff8422 /extras | |
parent | Window::Notify should return bool (diff) | |
download | core-92bede3900e84d4f08efb81757ec95c518c7fa76.tar.gz core-92bede3900e84d4f08efb81757ec95c518c7fa76.zip |
Avoid some global statics that drag in lots of code in the static linking case
When doing static linking, i.e. when building the single executable
for an iOS app, or the single DSO for an Android app, we list all our
libraries (which all are static archives) on the linker command
line. Static initializers in any library always get linked in, so it
is a good idea to avoid such in the cases where they drag in a large
amount of code. Which was the case here.
Change-Id: Idef9aec1c10686c86f517ad10cf540a313d9c829
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions