From ce8e04a7613377b9c420a4e5452065e5e3dae2d8 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sun, 10 Aug 2014 15:04:55 +0200 Subject: [PATCH] Use Libs.private to avoid unnecessary linkage --- libvncclient.pc.in | 4 +++- libvncserver.pc.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libvncclient.pc.in b/libvncclient.pc.in index 143dc46..37495e7 100644 --- a/libvncclient.pc.in +++ b/libvncclient.pc.in @@ -7,6 +7,8 @@ Name: LibVNCClient Description: A library for easy implementation of a VNC client. Version: @VERSION@ Requires: -Libs: -L${libdir} -lvncclient @LIBS@ @WSOCKLIB@ +Requires.private: zlib +Libs: -L${libdir} -lvncclient +Libs.private: @LIBS@ @WSOCKLIB@ Cflags: -I${includedir} diff --git a/libvncserver.pc.in b/libvncserver.pc.in index f9273ea..d246052 100644 --- a/libvncserver.pc.in +++ b/libvncserver.pc.in @@ -7,6 +7,8 @@ Name: LibVNCServer Description: A library for easy implementation of a VNC server. Version: @VERSION@ Requires: -Libs: -L${libdir} -lvncserver @LIBS@ @WSOCKLIB@ +Requires.private: zlib +Libs: -L${libdir} -lvncserver +Libs.private: @LIBS@ @WSOCKLIB@ Cflags: -I${includedir}