From 5852c68ea94de168a484e278aa700abfe04ee29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 14 Apr 2017 11:33:27 +0200 Subject: [PATCH] libsdl-net: fix build by using pkg-config to find SDL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Interesting: libsdl-net is prepared well for using pkg-config to find SDL. Fixes: | arm-angstrom-linux-gnueabi-gcc: error: unrecognized command line option '--should-not-have-used-/usr/bin/sdl-config' Signed-off-by: Andreas Müller --- dependencies/libsdl-net/libsdl-net_1.2.8.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dependencies/libsdl-net/libsdl-net_1.2.8.bb b/dependencies/libsdl-net/libsdl-net_1.2.8.bb index 7cc5bff..4fcc8c5 100644 --- a/dependencies/libsdl-net/libsdl-net_1.2.8.bb +++ b/dependencies/libsdl-net/libsdl-net_1.2.8.bb @@ -12,9 +12,7 @@ SRC_URI = " \ S = "${WORKDIR}/SDL_net-${PV}" -inherit autotools - -EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config" +inherit autotools pkgconfig SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718" SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"