sdl: fix directfb driver build if host has directfb-config
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 16 May 2011 20:18:35 +0000 (22:18 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 16 May 2011 20:18:35 +0000 (22:18 +0200)
Ensure our cross directfb-config is used, so the right linker paths
as passed to the compiler.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sdl/sdl.mk

index 8d9d8ae9e751d081dc4a19339f1fc706d41ad7e0..99488a60b47153794a730e8fa37eb9ef0711924a 100644 (file)
@@ -6,8 +6,8 @@
 SDL_VERSION:=1.2.14
 SDL_SOURCE:=SDL-$(SDL_VERSION).tar.gz
 SDL_SITE:=http://www.libsdl.org/release
-
 SDL_INSTALL_STAGING = YES
+SDL_CONF_ENV = ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config
 
 ifeq ($(BR2_PACKAGE_SDL_FBCON),y)
 SDL_CONF_OPT+=--enable-video-fbcon=yes