summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/btsco/btsco_0.42.bb10
1 files changed, 10 insertions, 0 deletions
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
+}