diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2011-07-29 12:28:06 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2011-07-29 12:28:06 (GMT) |
commit | 9a1cc4900c91bec494ed00bb80bfb995bc619357 (patch) | |
tree | f2c44dae782ec9a15f5fbfbc2acc4c60df5be601 | |
parent | 4570c759bcee25ab8f94488d1a4cbd9b3a61c1dc (diff) | |
download | mxe-9a1cc4900c91bec494ed00bb80bfb995bc619357.zip mxe-9a1cc4900c91bec494ed00bb80bfb995bc619357.tar.gz mxe-9a1cc4900c91bec494ed00bb80bfb995bc619357.tar.bz2 |
provide a clean solution for the pkg-config issue of package exiv2
-rw-r--r-- | src/exiv2-r2571.patch | 15 | ||||
-rw-r--r-- | src/exiv2.mk | 2 |
2 files changed, 15 insertions, 2 deletions
diff --git a/src/exiv2-r2571.patch b/src/exiv2-r2571.patch new file mode 100644 index 0000000..a2f5043 --- /dev/null +++ b/src/exiv2-r2571.patch @@ -0,0 +1,15 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +This patch has been taken from: +http://dev.exiv2.org/projects/exiv2/repository/revisions/2571 + +--- a/config/exiv2.pc.in ++++ b/config/exiv2.pc.in +@@ -7,5 +7,5 @@ Name: exiv2 + Description: Image metadata library and tools + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -lexiv2 @EXV_LIB_STATIC@ +-Libs.private: @LDFLAGS@ @EXPAT_LDFLAGS@ @LTLIBINTL@ @LTLIBICONV@ @LIBS@ @EXPAT_LIBS@ ++Libs.private: @EXPAT_LDFLAGS@ @LTLIBINTL@ @LTLIBICONV@ @LIBS@ @EXPAT_LIBS@ + Cflags: -I${includedir} diff --git a/src/exiv2.mk b/src/exiv2.mk index faf125a..8197bda 100644 --- a/src/exiv2.mk +++ b/src/exiv2.mk @@ -31,8 +31,6 @@ define $(PKG)_BUILD --disable-visibility \ --disable-nls \ --with-expat - # fix pkg-config linker flags - $(SED) -i 's,-no-undefined,,' '$(1)/config/exiv2.pc' $(MAKE) -C '$(1)/xmpsdk/src' -j '$(JOBS)' $(MAKE) -C '$(1)/src' -j '$(JOBS)' install-lib endef |