#!/usr/bin/make -f # a dirty way to make dh_shlibdeps find the libraries, if you have better # solution I'd welcome it export LD_LIBRARY_PATH := $(shell pwd)/obj-$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)/lib:$(LD_LIBRARY_PATH) %: dh $@ override_dh_auto_configure: # the mysqld library is not much of a static dh_auto_configure -- -DMYSQL_LIBRARIES:STRING="-lmysqld -lcrypt -laio" \ -Wno-dev \ -DKATIE_LDCONF_FULL=/etc/ld.so.conf.d \ -DKATIE_PROFILE_FULL=/etc/profile.d override_dh_auto_build: dh_auto_build override_dh_auto_install: dh_auto_install override_dh_auto_clean: dh_auto_clean