From 1341c8b4016b3bba2b9b0470917c5300f3106e9a Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 4 Mar 2019 13:53:26 +0100 Subject: [PATCH] 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. --- kiwixbuild/dependencies/kiwix_lib.py | 1 + kiwixbuild/dependencies/libzim.py | 1 + 2 files changed, 2 insertions(+) diff --git a/kiwixbuild/dependencies/kiwix_lib.py b/kiwixbuild/dependencies/kiwix_lib.py index 6332394..ea3f8ef 100644 --- a/kiwixbuild/dependencies/kiwix_lib.py +++ b/kiwixbuild/dependencies/kiwix_lib.py @@ -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): diff --git a/kiwixbuild/dependencies/libzim.py b/kiwixbuild/dependencies/libzim.py index fdcff3a..ed0ea24 100644 --- a/kiwixbuild/dependencies/libzim.py +++ b/kiwixbuild/dependencies/libzim.py @@ -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):