summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-08-07 15:20:03 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-08-08 12:55:49 +0200
commit46f3f4242c4d9a28f00231a59aa1771f4252d665 (patch)
tree2af645dd901abc7392240d603f0761ff697e0317
parent234a5c2e5becf4221d21a2ac94ffe652c0062d40 (diff)
override dh_strip to strip objects not stripped
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 490fad8..9cbdb2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,3 +14,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_configure:
dh_auto_configure -- -DLIB_INSTALL_DIR=lib/$(DEB_HOST_MULTIARCH)
+
+override_dh_strip:
+ dh_strip
+ strip --remove-section=.comment debian/freediameter/usr/lib/$(DEB_HOST_MULTIARCH)/freeDiameter/*