summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@debian.org>2014-08-10 15:04:55 +0200
committerJohannes Schindelin <johannes.schindelin@gmx.de>2014-08-16 15:56:57 +0200
commitce8e04a7613377b9c420a4e5452065e5e3dae2d8 (patch)
tree58ff35c8b4d94b7fbbd3413106ab5cd9cffa7a68
parent27b0c0deb79de78a693d335880b8908131c255df (diff)
downloadlibvncserver-ce8e04a7613377b9c420a4e5452065e5e3dae2d8.zip
libvncserver-ce8e04a7613377b9c420a4e5452065e5e3dae2d8.tar.gz
Use Libs.private to avoid unnecessary linkage
-rw-r--r--libvncclient.pc.in4
-rw-r--r--libvncserver.pc.in4
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}
OpenPOWER on IntegriCloud