aboutsummaryrefslogtreecommitdiffstats
path: root/tools/zlib/patches/900-overridable-pc-exec-prefix.patch
blob: 4f1e376c9096a999b3d41726069ad1b522dfb1eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/zlib.pc.cmakein
+++ b/zlib.pc.cmakein
@@ -1,8 +1,8 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@INSTALL_LIB_DIR@
-sharedlibdir=@INSTALL_LIB_DIR@
-includedir=@INSTALL_INC_DIR@
+libdir=${prefix}/lib
+sharedlibdir=${prefix}/lib
+includedir=${prefix}/include
 
 Name: zlib
 Description: zlib compression library