provide a clean solution for the pkg-config issue of package exiv2

pull/13/head
Volker Grabsch 13 years ago
parent 4570c759bc
commit 9a1cc4900c

@ -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}

@ -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

Loading…
Cancel
Save