gst-plugins-bad: ensure cross sdl-config is used for sdl plugin
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 6 Jun 2011 11:37:23 +0000 (13:37 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 6 Jun 2011 11:37:23 +0000 (13:37 +0200)
Otherwise we end up linking against host libraries.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/gst-plugins-bad/gst-plugins-bad.mk

index 357acf3b35422e66fd4f542d0ac0cfba143c5e7a..31d998f9b21d0ac5ea4a5bd995054ec1b4b61947 100644 (file)
@@ -348,6 +348,7 @@ GST_PLUGINS_BAD_CONF_OPT += --disable-oss4
 endif
 
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDL),y)
+GST_PLUGINS_BAD_CONF_ENV += ac_cv_path_SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
 GST_PLUGINS_BAD_CONF_OPT += --enable-sdl
 GST_PLUGINS_BAD_DEPENDENCIES += sdl
 else