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:
parent
d31d9985c7
commit
1341c8b401
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue