libsdl2: use binconfig-disabled

Message ID 20190618105136.28510-1-ross.burton@intel.com
State Accepted
Commit 8d93fc236a72cb1bb0e713c4fc5b73e65ede6f53
Headers show
Series
  • libsdl2: use binconfig-disabled
Related show

Commit Message

Ross Burton June 18, 2019, 10:51 a.m.
Just like libsdl, we can rip out the sdl2-config script from the sysroot as
pkg-config is preferrable.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-graphics/libsdl2/libsdl2_2.0.9.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.9.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.9.bb
index bac91d37366..a0a0b1509a2 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.9.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.9.bb
@@ -21,7 +21,9 @@  S = "${WORKDIR}/SDL2-${PV}"
 SRC_URI[md5sum] = "f2ecfba915c54f7200f504d8b48a5dfe"
 SRC_URI[sha256sum] = "255186dc676ecd0c1dbf10ec8a2cc5d6869b5079d8a38194c2aecdff54b324b1"
 
-inherit autotools lib_package binconfig pkgconfig
+inherit autotools lib_package binconfig-disabled pkgconfig
+
+BINCONFIG = "${bindir}/sdl2-config"
 
 CVE_PRODUCT = "simple_directmedia_layer sdl"