Patchwork [meta-oe,dylan,05/60] fbida: define -I when checking jpeg version

login
register
mail settings
Submitter Martin Jansa
Date Aug. 15, 2013, 7:18 a.m.
Message ID <0d3f3e09a02ad95d0b41037b05db4031d247be78.1376551135.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/55673/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 15, 2013, 7:18 a.m.
* echo JPEG_LIB_VERSION | i586-starfish-linux-cpp -include jpeglib.h |
  tail -n 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-graphics/fbida/fbida_2.09.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-graphics/fbida/fbida_2.09.bb b/meta-oe/recipes-graphics/fbida/fbida_2.09.bb
index 02ea57f..aa4c1ca 100644
--- a/meta-oe/recipes-graphics/fbida/fbida_2.09.bb
+++ b/meta-oe/recipes-graphics/fbida/fbida_2.09.bb
@@ -15,7 +15,7 @@  S = "${WORKDIR}/git"
 EXTRA_OEMAKE = "STRIP="
 
 do_compile() {
-    sed -i -e 's: cpp: ${TARGET_PREFIX}cpp:g' GNUmakefile
+    sed -i -e 's: cpp: ${TARGET_PREFIX}cpp -I{STAGING_INCDIR}:g' GNUmakefile
     oe_runmake
 }