Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS when cross-compiling (Closes: #864636).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5a10795b30
commit
2548d3214b
1 changed files with 7 additions and 1 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -1,10 +1,16 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/dpkg/architecture.mk
|
||||
|
||||
ifeq ($(origin CXX),default)
|
||||
CXX := $(DEB_HOST_GNU_TYPE)-g++
|
||||
endif
|
||||
|
||||
%:
|
||||
dh ${@}
|
||||
|
||||
override_dh_auto_configure:
|
||||
LDFLAGS="${LDFLAGS} -static" dh_auto_configure -- --exec-prefix=/
|
||||
LDFLAGS="${LDFLAGS} -static" dh_auto_configure -- --exec-prefix=/ CXX=$(CXX)
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/zutils
|
||||
|
|
Loading…
Add table
Reference in a new issue