Skip to content
Snippets Groups Projects
Commit 527f26ba authored by Samuli Piippo's avatar Samuli Piippo
Browse files

sdl2: fix sdl2.pc include paths


SDL2 dumps all cflags to the sdl2.pc, which might then contain paths
to the recipe sysroot include dir. This happens at least with
raspberrypi.

Change-Id: I77139bd31956039d4b8db947161f032fb8fbdaf7
Reviewed-by: default avatarMikko Gronoff <mikko.gronoff@qt.io>
parent 409ebc3c
No related branches found
No related tags found
No related merge requests found
......@@ -28,3 +28,7 @@
############################################################################
PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
do_install_append() {
sed -i -e "s|${STAGING_INCDIR}|$\{includedir}|g" ${D}${libdir}/pkgconfig/sdl2.pc
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment