give libpng location when building SDL2_image

This commit is contained in:
Roza 2021-02-21 23:59:33 -05:00
parent dfcff52610
commit 162e003623
3 changed files with 3 additions and 3 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \