build/win: Upgrade exiv2 to 0.25

This commit is contained in:
Michael Henning 2016-05-29 00:09:33 -04:00
parent cb02b22db2
commit e8d523ed63
2 changed files with 15 additions and 3 deletions

View File

@ -140,9 +140,10 @@
</autotools>
<cmake id="exiv2">
<branch version="0.24" repo="exiv2"
module="exiv2-0.24.tar.gz"
hash="md5:b8a23dc56a98ede85c00718a97a8d6fc">
<branch version="0.25" repo="exiv2"
module="exiv2-0.25.tar.gz"
hash="md5:258d4831b30f75a01e0234065c6c2806">
<patch file="exiv2-add-wsock32.patch" strip="1"/>
</branch>
<dependencies>
<dep package="zlib"/>

View File

@ -0,0 +1,11 @@
--- a/src/CMakeLists.txt 2016-05-29 00:04:56.925764000 -0400
+++ b/src/CMakeLists.txt 2016-05-29 00:05:16.485877571 -0400
@@ -288,7 +288,7 @@
ENDIF( ICONV_FOUND )
IF (CYGWIN OR MINGW)
- TARGET_LINK_LIBRARIES( exiv2lib psapi )
+ TARGET_LINK_LIBRARIES( exiv2lib psapi wsock32 )
ENDIF(CYGWIN OR MINGW)