aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/zlib/patches/004-relative-pkg-config-paths.patch
blob: c86d19b412aec366772e9efe308ad4b6898d3ce3 (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=${exec_prefix}/lib
+sharedlibdir=${exec_prefix}/lib
+includedir=${prefix}/include
 
 Name: zlib
 Description: zlib compression library