[SCM] pd-libdir/master: Fix FTCBFS: Use the host architecture strip.

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon Jan 15 12:48:52 UTC 2018


The following commit has been merged in the master branch:
commit c11d10200f6529bfab5e87909f0851aad0abf420
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date:   Mon Jan 15 13:39:39 2018 +0100

    Fix FTCBFS: Use the host architecture strip.
    
    Thanks: Helmut Grohne <helmut at subdivi.de>
    Closes: #883280

diff --git a/debian/rules b/debian/rules
index b2b1859..1759577 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 LIBRARY_NAME = libdir
 PACKAGE = pd-$(LIBRARY_NAME)
 pkglibdir = /usr/lib/pd/extra
@@ -30,7 +32,7 @@ override_dh_shlibdeps:
 override_dh_strip:
 	dh_strip
 	find $(CURDIR)/debian/$(PACKAGE) -name "*.pd_linux" -exec \
-		strip \
+		$(DEB_HOST_GNU_TYPE)-strip \
 			--remove-section=.comment \
 			--remove-section=.note \
 			--strip-unneeded \

-- 
pd-libdir packaging



More information about the pkg-multimedia-commits mailing list