Skip to content

Commit c398b13

Browse files
prevent automatic stripping of ELF binaries after installation
1 parent 88cc816 commit c398b13

File tree

1 file changed

+6
-1
lines changed
  • bloom/generators/debian/templates/meson

1 file changed

+6
-1
lines changed

bloom/generators/debian/templates/meson/rules.em

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ override_dh_auto_configure:
3232
--prefix="@(InstallationPrefix)" \
3333
--cmake-prefix-path="@(InstallationPrefix)" \
3434
--libdir=lib \
35-
--libexecdir=lib
35+
--libexecdir=lib \
36+
--strip
3637

3738
override_dh_auto_build:
3839
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
@@ -50,3 +51,7 @@ override_dh_shlibdeps:
5051
override_dh_auto_install:
5152
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
5253
dh_auto_install
54+
55+
# do not strip ELF binaries
56+
override_dh_strip:
57+
true

0 commit comments

Comments
 (0)