File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,9 @@ ninja -C _build install
183
183
mkdir ${DEPS} /gdkpixbuf
184
184
curl -Lks https://download.gnome.org/sources/gdk-pixbuf/$( without_patch $VERSION_GDKPIXBUF ) /gdk-pixbuf-${VERSION_GDKPIXBUF} .tar.xz | tar xJC ${DEPS} /gdkpixbuf --strip-components=1
185
185
cd ${DEPS} /gdkpixbuf
186
+ # Ensure meson can find libjpeg when cross-compiling
187
+ sed -i " s/has_header('jpeglib.h')/has_header('jpeglib.h', args: '-I\/target\/include')/" meson.build
188
+ sed -i " s/find_library('jpeg',/find_library('jpeg', dirs: '\/target\/lib',/" meson.build
186
189
CFLAGS= CXXFLAGS= meson setup _build --buildtype=release --strip --libdir=lib --prefix=${TARGET} ${MESON} \
187
190
-Dtiff=false -Dx11=false -Dgir=false -Dinstalled_tests=false -Dgio_sniffing=false -Dman=false -Dbuiltin_loaders=png,jpeg
188
191
ninja -C _build
You can’t perform that action at this time.
0 commit comments