mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
c93035a0fe
* 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' '
|