summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-06 11:45:25 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-06-06 11:47:32 (GMT)
commitab251cfe2b636fc3041fce8773d9a6c43c316446 (patch)
treebb88fda240ef3506922895b480dc7f1cd505c15a
parentd79d9a501dbdc20de0ca1a92994d4b63b3ec7249 (diff)
downloadbuildroot-ab251cfe2b636fc3041fce8773d9a6c43c316446.tar.gz
buildroot-ab251cfe2b636fc3041fce8773d9a6c43c316446.tar.bz2
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>
-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 cd8ac89..8bcc999 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