From: Dimitrios Eftaxiopoulos Date: Wed, 26 Dec 2012 21:17:15 +0000 (+0200) Subject: Add c++ compilation include path for pyconfig.h X-Git-Tag: archive/raspbian/2.5-2+rpi1^2~151^2~49 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4746ea053dd960b6def0c6c6d1ecfcbb9c753390;p=mathgl.git Add c++ compilation include path for pyconfig.h --- 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