1
0
Fork 0

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

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-20 21:24:52 +01:00
parent 3b8dca502b
commit 343b4a1c9d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

8
debian/rules vendored
View file

@ -1,12 +1,16 @@
#!/usr/bin/make -f #!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) include /usr/share/dpkg/architecture.mk
ifeq ($(origin CC),default)
CC = $(DEB_HOST_GNU_TYPE)-gcc
endif
%: %:
dh ${@} dh ${@}
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- --enable-shared --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) dh_auto_configure -- --enable-shared --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 'CC=$(CC)'
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -- LDCONFIG=/bin/true dh_auto_install -- LDCONFIG=/bin/true