summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-12-22 00:06:59 +0100
committerJonas Smedegaard <dr@jones.dk>2016-12-22 00:34:58 +0100
commit78843fe67be221553a51e53a3088d1f606ff12b8 (patch)
tree682bf6930ad6142a839bbd00176b95412b051f1f
parent111e446d1d57ccc47b35f7c6fbf8bd5575d5a0a1 (diff)
downloadbiboumi-78843fe67be221553a51e53a3088d1f606ff12b8.tar.gz
biboumi-78843fe67be221553a51e53a3088d1f606ff12b8.tar.bz2
biboumi-78843fe67be221553a51e53a3088d1f606ff12b8.tar.xz
biboumi-78843fe67be221553a51e53a3088d1f606ff12b8.zip
Resolve Botan configure flags.
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index c80ba2e..071b025 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,10 @@ dev-deps = expat1 idn11 systemd c-ares botan1.10
CDBS_BUILD_DEPENDS += , cmake, catch, uuid-dev, pandoc
CDBS_BUILD_DEPENDS += , $(patsubst %,$(comma) lib%-dev,$(dev-deps))
+DEB_CMAKE_EXTRA_FLAGS = \
+ -DBOTAN_LIBRARIES="$(shell pkg-config botan-1.10 --libs-only-L)" \
+ -DBOTAN_INCLUDE_DIRS="$(shell pkg-config botan-1.10 --cflags-only-I)"
+
DEB_MAKE_CHECK_TARGET = check
DEB_INSTALL_CHANGELOGS_ALL += CHANGELOG.rst