diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-10-22 04:19:39 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-10-22 04:21:55 (GMT) |
commit | 57196a8eddeb7a2d713d0d4fe3136f11c2805875 (patch) | |
tree | 0b9d3acf05594124bdbee1d194e72c8dc7a48bd7 /src/libgeotiff.mk | |
parent | 31a7e07771644c700243ed4da93529882647943e (diff) | |
download | mxe-57196a8eddeb7a2d713d0d4fe3136f11c2805875.zip mxe-57196a8eddeb7a2d713d0d4fe3136f11c2805875.tar.gz mxe-57196a8eddeb7a2d713d0d4fe3136f11c2805875.tar.bz2 |
libgeotiff: Enable shared
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/libgeotiff.mk')
-rw-r--r-- | src/libgeotiff.mk | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/libgeotiff.mk b/src/libgeotiff.mk index 3e2735f..6dfd961 100644 --- a/src/libgeotiff.mk +++ b/src/libgeotiff.mk @@ -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 = |