From 3a0b4dc0e0182ecca25d41807b36fc6e8802bf10 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Thu, 19 Nov 2020 12:48:20 +0000 Subject: [PATCH] debian: Suppress automatic debug symbols for libcapsule-tools-relocatable The debug symbols for libcapsule-tools-relocatable would be the same as for libcapsule-tools, making them non-co-installable. Use the environment variable instead of --no-automatic-dbgsym for compatibility with Steam Runtime 1 'scout', which is too old to have that option. Signed-off-by: Simon McVittie <smcv@collabora.com> --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/rules b/debian/rules index 82ffe1876..d4d34932d 100755 --- a/debian/rules +++ b/debian/rules @@ -117,6 +117,14 @@ override_dh_install: rm -f debian/tmp/usr/bin/capsule-version dh_install +# The debug symbols for libcapsule-tools-relocatable would be the same +# as for libcapsule-tools, making them non-co-installable. +# Use the environment variable instead of --no-automatic-dbgsym for +# compatibility with Steam Runtime 1 'scout'. +override_dh_strip: + DEB_BUILD_OPTIONS='$(DEB_BUILD_OPTIONS) noautodbgsym' dh_strip -plibcapsule-tools-relocatable + dh_strip --remaining-packages + override_dh_missing: dh_missing --fail-missing -- GitLab