File: rules

package info (click to toggle)
mysql%2B%2B 3.2.5-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 18,344 kB
  • sloc: cpp: 35,787; sh: 3,693; perl: 789; makefile: 730
file content (21 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_LDFLAGS_MAINT_APPEND = -pthread

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-static --enable-thread-check --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_autoreconf:
	# autoreconf fails unless aclocal is skipped
	ACLOCAL=true dh_autoreconf

override_dh_makeshlibs:
	# For new symbols when compiled with GCC 7
	dh_makeshlibs -V'libmysql++3v5 (>= 3.2.5-1~)'