1
0
Fork 0

Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS when cross-compiling (Closes: #884722).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 04:15:05 +01:00
parent 5139df81bb
commit 31f44a0345
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

9
debian/rules vendored
View file

@ -1,10 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) include /usr/share/dpkg/architecture.mk
ifeq ($(origin CXX),default)
CXX := $(DEB_HOST_GNU_TYPE)-g++
endif
%: %:
dh ${@} dh ${@}
override_dh_auto_configure:
dh_auto_configure -- 'CXX=$(CXX)'
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/plzip dh_auto_install -- DESTDIR=$(CURDIR)/debian/plzip