summaryrefslogtreecommitdiffstats
path: root/package/multimedia
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-06 13:45:25 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-06-06 13:47:32 +0200
commitab251cfe2b636fc3041fce8773d9a6c43c316446 (patch)
treebb88fda240ef3506922895b480dc7f1cd505c15a /package/multimedia
parentd79d9a501dbdc20de0ca1a92994d4b63b3ec7249 (diff)
downloadbuildroot-novena-ab251cfe2b636fc3041fce8773d9a6c43c316446.tar.gz
buildroot-novena-ab251cfe2b636fc3041fce8773d9a6c43c316446.zip
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>
Diffstat (limited to 'package/multimedia')
-rw-r--r--package/multimedia/libmpeg2/libmpeg2.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/multimedia/libmpeg2/libmpeg2.mk b/package/multimedia/libmpeg2/libmpeg2.mk
index cd8ac8926..8bcc99967 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