Resolve ambiguity about SDL headers in fb_sdl

This patch prevents 'fb_sdl' from wrongly using SDL headers located in
the libports repository. We have to make sure to use the headers
installed on the host system.
This commit is contained in:
Norman Feske 2011-12-24 02:15:40 +08:00 committed by Christian Helmuth
parent 46e3dbee3a
commit 032f9810a9

View File

@ -4,3 +4,12 @@ REQUIRES = linux sdl
SRC_CC = fb_sdl.cc input.cc
LX_LIBS = sdl
#
# Explicitly add host headers to the include-search location. Even though this
# path happens to be added via the 'lx_hybrid' library via the 'HOST_INC_DIR'
# variable, we want to give /usr/include preference for resolving 'SDL/*'
# headers. Otherwise, if libSDL is prepared in 'libports', the build system
# would pull-in the SDL headers from libports.
#
INC_DIR += /usr/include