From a2f28d21f47519dce87edc63111df310ff433d9f Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 23 Apr 2023 15:14:24 +0200 Subject: [PATCH] prevent automatic stripping of ELF binaries after installation --- bloom/generators/debian/templates/meson/rules.em | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bloom/generators/debian/templates/meson/rules.em b/bloom/generators/debian/templates/meson/rules.em index f19cc754..97870968 100755 --- a/bloom/generators/debian/templates/meson/rules.em +++ b/bloom/generators/debian/templates/meson/rules.em @@ -32,7 +32,8 @@ override_dh_auto_configure: --prefix="@(InstallationPrefix)" \ --cmake-prefix-path="@(InstallationPrefix)" \ --libdir=lib \ - --libexecdir=lib + --libexecdir=lib \ + --strip override_dh_auto_build: if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \ @@ -50,3 +51,7 @@ override_dh_shlibdeps: override_dh_auto_install: if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \ dh_auto_install + +# do not strip ELF binaries +override_dh_strip: + true