Commit c36ac444 authored by Jean-Paul Saman's avatar Jean-Paul Saman

contribs: fix makefile

parent a54329d2
......@@ -2137,10 +2137,14 @@ tiff: tiff-$(TIFF_VERSION).tar.gz
$(EXTRACT_GZ)
.tiff: tiff
if defined(HAVE_WIN32) || defined(HAVE_ARM_LINUX)
ifdef HAVE_WIN32
(cd $<; ./configure --target=$(HOST) --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) --host=$(HOST) &&make -C port && make -C libtiff && make -C libtiff install)
else
ifdef HAVE_ARM_LINUX
(cd $<; ./configure --target=$(HOST) --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) --host=$(HOST) &&make -C port && make -C libtiff && make -C libtiff install)
else
(cd $<; ./configure --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no --prefix=$(PREFIX) && make -C port &&make -C libtiff && make -C libtiff install)
endif
endif
$(INSTALL_NAME)
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