From 4746ea053dd960b6def0c6c6d1ecfcbb9c753390 Mon Sep 17 00:00:00 2001 From: Dimitrios Eftaxiopoulos Date: Wed, 26 Dec 2012 23:17:15 +0200 Subject: [PATCH] Add c++ compilation include path for pyconfig.h --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index d6fe8f7..af59fdc 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,8 @@ export DH_VERBOSE=1 export DH_OPTIONS=-v +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + clean: dh_testdir dh_auto_clean --buildsystem=cmake @@ -20,7 +22,7 @@ build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir - dh_auto_configure --buildsystem=cmake + dh_auto_configure --buildsystem=cmake -- -DCMAKE_CXX_FLAGS=-I/usr/include/${DEB_HOST_MULTIARCH}/python2.7 dh_auto_build --buildsystem=cmake dh_auto_test --buildsystem=cmake -- 2.30.2