Commit cb84f9ac authored by Rafaël Carré's avatar Rafaël Carré

contrib: disable png code in SDL_image

we already have a png decoder
parent 58ac662c
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
Version: @VERSION@ Version: @VERSION@
Requires: sdl >= @SDL_VERSION@ Requires: sdl >= @SDL_VERSION@
Libs: -L${libdir} -lSDL_image Libs: -L${libdir} -lSDL_image
+Libs.private: -ljpeg -ltiff -lpng -lz +Libs.private: -ljpeg -ltiff
Cflags: -I${includedir}/SDL Cflags: -I${includedir}/SDL
...@@ -19,10 +19,10 @@ SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image ...@@ -19,10 +19,10 @@ SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image
$(APPLY) $(SRC)/SDL_image/pkg-config.patch $(APPLY) $(SRC)/SDL_image/pkg-config.patch
$(MOVE) $(MOVE)
DEPS_SDL_image = png $(DEPS_png) jpeg $(DEPS_jpeg) tiff $(DEPS_tiff) \ DEPS_SDL_image = jpeg $(DEPS_jpeg) tiff $(DEPS_tiff) \
sdl $(DEPS_sdl) sdl $(DEPS_sdl)
.SDL_image: SDL_image .SDL_image: SDL_image
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-tif --disable-sdltest cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-tif --disable-sdltest --disable-png
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment