summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-05-16 22:18:35 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-16 22:18:35 +0200
commit668c357fec27d6b02c9201de5764bb8d1bdd67c2 (patch)
tree55fd35d35c7dcdba3365f0a3c97b4f8bc09a7e2f
parente860d5f5d169d609c644d9e5d0e8c0a46a7bb68c (diff)
downloadbuildroot-novena-668c357fec27d6b02c9201de5764bb8d1bdd67c2.tar.gz
buildroot-novena-668c357fec27d6b02c9201de5764bb8d1bdd67c2.zip
sdl: fix directfb driver build if host has directfb-config
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>
-rw-r--r--package/sdl/sdl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 8d9d8ae9e..99488a60b 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -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