Package: x11vnc / 0.9.13-1.2

10_usepkgconfig.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Locate libvncserver/client with pkg-config instead of
 libvncserver-config. - The latter causes unnecessary linkage.
Author: Andreas Metzler <ametzler@debian.org>
Last-Update: 2014-08-31

--- a/configure.ac
+++ b/configure.ac
@@ -505,8 +505,8 @@ new enough.
 ==========================================================================
 ])
 		else
-			SYSTEM_LIBVNCSERVER_CFLAGS=`libvncserver-config --cflags`
-			SYSTEM_LIBVNCSERVER_LIBS="$rflag"`libvncserver-config --libs`
+			SYSTEM_LIBVNCSERVER_CFLAGS=`pkg-config --cflags libvncserver libvncclient`
+			SYSTEM_LIBVNCSERVER_LIBS="$rflag"`pkg-config  --libs libvncserver libvncclient`
 			with_system_libvncserver=yes
 			echo yes
 		fi