mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-03 21:45:32 +02:00
give libpng location when building SDL2_image
This commit is contained in:
parent
dfcff52610
commit
162e003623
3 changed files with 3 additions and 3 deletions
|
@ -183,7 +183,7 @@ $(LIBDIR)/libSDL2_image.a: $(DOWNLOADS)/sdl2_image/Makefile
|
|||
|
||||
$(DOWNLOADS)/sdl2_image/Makefile: $(DOWNLOADS)/sdl2_image/configure
|
||||
cd $(DOWNLOADS)/sdl2_image; \
|
||||
LIBPNG_LIBS="-L$(LIBDIR)/libpng.a -lpng" LIBPNG_CFLAGS="-I$(INCLUDEDIR) \
|
||||
LIBPNG_LIBS="-L$(LIBDIR) -lpng" LIBPNG_CFLAGS="-I$(INCLUDEDIR)" \
|
||||
$(CONFIGURE) --enable-static=true --enable-shared=false \
|
||||
--disable-imageio \
|
||||
--enable-png=yes --enable-png-shared=no \
|
||||
|
|
|
@ -183,7 +183,7 @@ $(LIBDIR)/libSDL2_image.a: $(DOWNLOADS)/sdl2_image/Makefile
|
|||
|
||||
$(DOWNLOADS)/sdl2_image/Makefile: $(DOWNLOADS)/sdl2_image/configure
|
||||
cd $(DOWNLOADS)/sdl2_image; \
|
||||
LIBPNG_LIBS=$(LIBDIR)/libpng.a \
|
||||
LIBPNG_LIBS="-L$(LIBDIR)/libpng.a -lpng" LIBPNG_CFLAGS="-I$(INCLUDEDIR)" \
|
||||
$(CONFIGURE) --enable-static=true --enable-shared=false \
|
||||
--disable-imageio \
|
||||
--enable-png=yes --enable-png-shared=no \
|
||||
|
|
|
@ -171,7 +171,7 @@ $(LIBDIR)/libSDL2_image.a: $(DOWNLOADS)/sdl2_image/Makefile
|
|||
|
||||
$(DOWNLOADS)/sdl2_image/Makefile: $(DOWNLOADS)/sdl2_image/configure
|
||||
cd $(DOWNLOADS)/sdl2_image; \
|
||||
LIBPNG_LIBS=$(LIBDIR)/libpng.a \
|
||||
LIBPNG_LIBS="-L$(LIBDIR) -lpng" LIBPNG_CFLAGS="-I$(INCLUDEDIR)" \
|
||||
$(CONFIGURE) --enable-static=true --enable-shared=false \
|
||||
--disable-imageio \
|
||||
--enable-png=yes --enable-png-shared=no \
|
||||
|
|
Loading…
Add table
Reference in a new issue