Do not strip libraries in release_mode.

Meson use gcc's `-s` option to create the archive.
This option should make gcc meemic `ar` tool but in some version of gcc,
it seems there is a bug and the `-s` option is not taken into account.

See https://github.com/mesonbuild/meson/issues/4138

So, do not try to strip libraries. We will strip the final binaries anyway.
This commit is contained in:
Matthieu Gautier 2019-03-04 13:53:26 +01:00
parent d31d9985c7
commit 1341c8b401
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class Kiwixlib(Dependency):
class Builder(MesonBuilder):
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "icu4c", "mustache"]
strip_option = ''
@property
def configure_option(self):

View File

@ -14,6 +14,7 @@ class Libzim(Dependency):
class Builder(MesonBuilder):
test_option = "-t 8"
dependencies = ['zlib', 'lzma', 'xapian-core', 'icu4c']
strip_option = ''
@property
def configure_option(self):