From: Koen Kooi Date: Fri, 24 Nov 2006 19:27:48 +0000 (+0000) Subject: btsco: stop configure from putting -I/usr/include into the commmand line, fixes the... X-Git-Tag: Release-2010-05/1~9453^2~302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88f473fa5bb4c6f8c62feebc4e19547faade0218;p=openembedded.git btsco: stop configure from putting -I/usr/include into the commmand line, fixes the problems people where seeing in #oe * config.log is a handy debug tool --- diff --git a/packages/btsco/btsco_0.42.bb b/packages/btsco/btsco_0.42.bb index 005f3715f5..a4dd11b197 100644 --- a/packages/btsco/btsco_0.42.bb +++ b/packages/btsco/btsco_0.42.bb @@ -9,3 +9,13 @@ inherit autotools pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-${PV}.tar.gz" S = "${WORKDIR}/${PN}-${PV}" + +CFLAGS += " -I${STAGING_INCDIR} " + +#there are some bogus macros putting -I/usr/include into C(PP)FLAGS, lets fix that +do_configure() { + libtoolize --force + gnu-configize + sed -i 's:-I${bluez_prefix}/include::g' configure + oe_runconf +}