mirror of https://git.wownero.com/dsc/mxe.git
libzip: use Requires.private rather than Requires
This commit is contained in:
parent
b28ec826a3
commit
4f8f96ba2e
|
@ -0,0 +1,16 @@
|
||||||
|
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
|
||||||
|
|
|
@ -16,9 +16,6 @@ define $(PKG)_UPDATE
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
# TODO: send a patch upstream
|
|
||||||
echo 'Requires: zlib' >> '$(1)/libzip.pc.in'
|
|
||||||
|
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
--host='$(TARGET)' \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
--prefix='$(PREFIX)/$(TARGET)' \
|
||||||
|
|
Loading…
Reference in New Issue