#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all # extract the architecture for setting the library path suffix DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh ${@} --buildsystem=cmake override_dh_auto_configure: dh_auto_configure -- \ -DBUILD_SHARED_LIBS=ON \ -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"