Commit ab251cfe authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

libmpeg2: ensure cross sdl-config is used for sdl plugin



Otherwise we end up linking against host libraries.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent d79d9a50
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ LIBMPEG2_INSTALL_STAGING = YES
LIBMPEG2_CONF_OPT = --without-x --disable-directx

ifeq ($(BR2_PACKAGE_SDL),y)
LIBMPEG2_CONF_ENV += ac_cv_prog_SDLCONFIG=$(STAGING_DIR)/usr/bin/sdl-config
LIBMPEG2_CONF_OPT += --enable-sdl
LIBMPEG2_DEPENDENCIES += sdl
else