| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSE=1 |
| 3 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 4 | |
| 5 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 6 | |
| 7 | export DEB_LDFLAGS_MAINT_APPEND = -pthread |
| 8 | |
| 9 | %: |
| 10 | dh $@ |
| 11 | |
| 12 | override_dh_auto_configure: |
| 13 | dh_auto_configure -- --enable-static --enable-thread-check --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH) |
| 14 | |
| 15 | override_dh_autoreconf: |
| 16 | # autoreconf fails unless aclocal is skipped |
| 17 | ACLOCAL=true dh_autoreconf |