view src/libzip-2-pkgconfig_private.patch @ 3000:84f173dbc7fc draft

libzip: use Requires.private rather than Requires
author Sylvain Beucler <beuc@beuc.net>
date Wed, 19 Dec 2012 01:46:47 +0100
parents
children
line wrap: on
line source

This file is part of MXE.
See index.html for further information.

Only advertise -lz for static builds.

--- a/libzip.pc.in	2012-03-15 10:28:05.000000000 +0100
+++ b/libzip.pc.in	2012-12-18 22:48:27.807773881 +0100
@@ -9,6 +9,7 @@
 Name: libzip
 Description: library for handling zip archives
 Version: @VERSION@
-Libs: -L${libdir} -lzip @LIBS@
+Libs: -L${libdir} -lzip
 Cflags: -I${includedir} -I${libincludedir}
+Requires.private: zlib