summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/directfb/++dfb_1.0.0.bb2
-rw-r--r--packages/directfb/directfb-examples_1.0.0.bb4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/directfb/++dfb_1.0.0.bb b/packages/directfb/++dfb_1.0.0.bb
index f440e117ff..020cbfe3eb 100644
--- a/packages/directfb/++dfb_1.0.0.bb
+++ b/packages/directfb/++dfb_1.0.0.bb
@@ -11,7 +11,7 @@ RV = "0.9-25"
inherit autotools pkgconfig
do_configure_append() {
- find ${S} -type f | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
+ find ${S} -type f | xargs sed -i 's:-I/usr/include::g'
}
do_stage() {
diff --git a/packages/directfb/directfb-examples_1.0.0.bb b/packages/directfb/directfb-examples_1.0.0.bb
index 064a808273..e59e4ecf2e 100644
--- a/packages/directfb/directfb-examples_1.0.0.bb
+++ b/packages/directfb/directfb-examples_1.0.0.bb
@@ -11,8 +11,8 @@ S = "${WORKDIR}/DirectFB-examples-${PV}"
inherit autotools
do_configure_append() {
-# find ${S} -type f | xargs sed -i 's:/usr/lib:${STAGING_LIBDIR}:'
- find ${S} -type f | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
+# find ${S} -type f | xargs sed -i 's:-L/usr/lib::g'
+ find ${S} -type f | xargs sed -i 's:-I/usr/include::g'
}
do_stage() {