From ab251cfe2b636fc3041fce8773d9a6c43c316446 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 6 Jun 2011 13:45:25 +0200 Subject: [PATCH] libmpeg2: ensure cross sdl-config is used for sdl plugin Otherwise we end up linking against host libraries. Signed-off-by: Peter Korsgaard --- package/multimedia/libmpeg2/libmpeg2.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/multimedia/libmpeg2/libmpeg2.mk b/package/multimedia/libmpeg2/libmpeg2.mk index cd8ac89262..8bcc99967b 100644 --- a/package/multimedia/libmpeg2/libmpeg2.mk +++ b/package/multimedia/libmpeg2/libmpeg2.mk @@ -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 -- 2.30.2