mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-19 02:21:40 +00:00
* Redo libjpeg detection to use cross cpp * Add missing dependencies * Use cairo only when it is compiled with EGL support which is not defaul in oe-core * Fix build with gcc10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 lines
252 B
Diff
7 lines
252 B
Diff
--- a/scripts/jpeg-version.sh
|
|
+++ b/scripts/jpeg-version.sh
|
|
@@ -1,2 +1,2 @@
|
|
#!/bin/sh
|
|
-echo JPEG_LIB_VERSION | cpp $CFLAGS -include jpeglib.h | tail -1
|
|
+${CPP} -include jpeglib.h -dM -E -x c /dev/null | grep 'define JPEG_LIB_VERSION' | cut -f 3 -d' '
|