From d50441c28b26c057218549c7a1656add2e80d43e Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 12 Jan 2018 12:33:01 +0100 Subject: [PATCH] add needed deep --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4f2ec9b..32a04f2 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,12 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +ifeq ($(DEB_BUILD_ARCH),amd64) + SUBSTVARS = -Vdist:Build-Depends="debhelper (>= 5), libc6-i386" +else + SUBSTVARS = -Vdist:Build-Depends="debhelper (>= 5)" +endif + clean: dh_testdir dh_testroot @@ -118,7 +124,7 @@ binary-arch: build install dh_strip dh_installdeb LD_LIBRARY_PATH=$$(pwd)/debian/arcconf/usr/lib/arcconf:$${LD_LIBRARY_PATH} dh_shlibdeps - dh_gencontrol + dh_gencontrol -- $(SUBSTVARS) dh_md5sums dh_builddeb