mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +00:00
libports/sdl_image: enable XPM, add include/SDL
Some SDL applications expect the SDL_image headers in include/SDL to be reachable without the SDL/ prefix. This patch adds the corresponding search path. Furthermore it enables support for XPM images.
This commit is contained in:
parent
d426c5e6c2
commit
50ea944789
@ -1 +1,2 @@
|
|||||||
INC_DIR += $(call select_from_ports,sdl_image)/include
|
INC_DIR += $(call select_from_ports,sdl_image)/include \
|
||||||
|
$(call select_from_ports,sdl_image)/include/SDL
|
||||||
|
@ -4,7 +4,7 @@ SRC_C = $(notdir $(wildcard $(SDL_IMAGE_PORT_DIR)/src/lib/sdl_image/IMG*.c))
|
|||||||
|
|
||||||
LIBS += libc libm sdl jpeg libpng zlib
|
LIBS += libc libm sdl jpeg libpng zlib
|
||||||
|
|
||||||
SUPPORTED_FORMATS = PNG JPG TGA PNM
|
SUPPORTED_FORMATS = PNG JPG TGA PNM XPM
|
||||||
|
|
||||||
CC_OPT += $(addprefix -DLOAD_,$(SUPPORTED_FORMATS))
|
CC_OPT += $(addprefix -DLOAD_,$(SUPPORTED_FORMATS))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user