summaryrefslogtreecommitdiff
blob: 6a50ac89206495d8d449bc8b77607fe6a1b050d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 36a71279ed5b10effecd879caf6c3791842ca713 Mon Sep 17 00:00:00 2001
From: Christian Beier <dontmind@freeshell.org>
Date: Thu, 28 Mar 2019 21:06:36 +0100
Subject: [PATCH 03/51] CMake: replace 'lib' with ${CMAKE_INSTALL_LIBDIR} for
 pkgconfig files as well

Thanks to https://github.com/ikelos for spotting this ;-)

Closes #290
---
 libvncclient.pc.cmakein | 2 +-
 libvncserver.pc.cmakein | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvncclient.pc.cmakein b/libvncclient.pc.cmakein
index 169a8b7..445f7e7 100644
--- a/libvncclient.pc.cmakein
+++ b/libvncclient.pc.cmakein
@@ -1,6 +1,6 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/lib
+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
 includedir=@CMAKE_INSTALL_PREFIX@/include
 
 Name: LibVNCClient
diff --git a/libvncserver.pc.cmakein b/libvncserver.pc.cmakein
index f38d74f..c689806 100644
--- a/libvncserver.pc.cmakein
+++ b/libvncserver.pc.cmakein
@@ -1,6 +1,6 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/lib
+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
 includedir=@CMAKE_INSTALL_PREFIX@/include
 
 Name: LibVNCServer
-- 
2.23.0