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