diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-06-10 10:46:12 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-06-10 10:46:12 (GMT) |
commit | f4202755f56e4062d64fce3c731e0db4c2c695ff (patch) | |
tree | 2bc3833c4f7ec0239bb52501a610492db6cca1a4 /src/exiv2.mk | |
parent | a7ddf51e83f3761c8e5f6c19102771bddad9ef55 (diff) | |
download | mxe-f4202755f56e4062d64fce3c731e0db4c2c695ff.zip mxe-f4202755f56e4062d64fce3c731e0db4c2c695ff.tar.gz mxe-f4202755f56e4062d64fce3c731e0db4c2c695ff.tar.bz2 |
package exiv2: enable shared build
Diffstat (limited to 'src/exiv2.mk')
-rw-r--r-- | src/exiv2.mk | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/exiv2.mk b/src/exiv2.mk index 630a606..061f708 100644 --- a/src/exiv2.mk +++ b/src/exiv2.mk @@ -18,16 +18,18 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + # libtool looks for a pei* format when linking shared libs + # apparently there's no real difference b/w pei and pe + # so we set the libtool cache variables + # https://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libpei.h?annotate=1.25&cvsroot=src cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' \ + $(MXE_CONFIGURE_OPTS) \ --disable-visibility \ --disable-nls \ - --with-expat + --with-expat \ + $(if $(BUILD_SHARED),\ + lt_cv_deplibs_check_method='file_magic file format (pe-i386|pe-x86-64)' \ + lt_cv_file_magic_cmd='$$OBJDUMP -f') $(MAKE) -C '$(1)/xmpsdk/src' -j '$(JOBS)' $(MAKE) -C '$(1)/src' -j '$(JOBS)' install-lib endef - -$(PKG)_BUILD_SHARED = |