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

Otherwise we end up linking against host libraries.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2011-06-06 13:45:25 +02:00
parent d79d9a501d
commit ab251cfe2b

View File

@ -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