mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
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:
parent
46e3dbee3a
commit
032f9810a9
@ -4,3 +4,12 @@ REQUIRES = linux sdl
|
|||||||
SRC_CC = fb_sdl.cc input.cc
|
SRC_CC = fb_sdl.cc input.cc
|
||||||
LX_LIBS = sdl
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user