X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fmysqltcl.git;a=blobdiff_plain;f=debian%2Frules;h=571e38bc4bed55b9304517452dc1286437f52e60;hp=de1946d185ecdc28ebb1a6221e9e13f70b1faa17;hb=7ba0b663f322c557538e0296925ee456c6927599;hpb=6b21162a41a5ab382a665fe35e0b8f7c201d3629 diff --git a/debian/rules b/debian/rules index de1946d..571e38b 100755 --- a/debian/rules +++ b/debian/rules @@ -3,10 +3,13 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -LDFLAGS += -Wl,-z,defs -Wl,--as-needed +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: - dh $@ --with quilt + dh $@ --with quilt,autoreconf override_dh_auto_configure: dh_auto_configure -- \ @@ -16,6 +19,7 @@ override_dh_auto_configure: --infodir=/usr/share/info \ --with-tcl=/usr/lib \ --with-tclinclude=/usr/include/tcl \ + --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_auto_install: dh_auto_install --destdir=$(CURDIR)/debian/mysqltcl