libgeotiff: Enable shared

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-10-21 21:19:39 -07:00
parent 31a7e07771
commit 57196a8edd
1 changed files with 7 additions and 6 deletions

View File

@ -21,12 +21,13 @@ define $(PKG)_BUILD
$(SED) -i 's,/usr/local,@prefix@,' '$(1)/bin/Makefile.in'
touch '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
$(MXE_CONFIGURE_OPTS) \
--with-jpeg \
--with-zlib \
LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4` -ljpeg -lz"
$(MAKE) -C '$(1)' -j 1 all install EXEEXT=.remove-me MAKE='$(MAKE)'
$(MAKE) -C '$(1)' -j 1 all install \
LDFLAGS=-no-undefined \
EXEEXT=.remove-me \
MAKE='$(MAKE)'
rm -fv '$(PREFIX)/$(TARGET)'/bin/*.remove-me
endef
$(PKG)_BUILD_SHARED =