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:
parent
3b8dca502b
commit
343b4a1c9d
1 changed files with 6 additions and 2 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue