Skip to contentSkip to conversation

sdl: fix directfb driver build if host has directfb-config

Buildroot Peter Korsgaard 1 participant 1 message May 16, 2011

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=668c357fec27d6b02c9201de5764bb8d1bdd67c2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Ensure our cross directfb-config is used, so the right linker paths as passed to the compiler.

---
 package/sdl/sdl.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/sdl/sdl.mk +1 -1
index 8d9d8ae..99488a6 100644
@@ -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
Signature · 1 line
1.7.3.4