commit ed659f3802d809bc31643b5bd9703fbc57301b58
Author: Marcin Serwin <marcin@serwin.dev>
Date: Wed Feb 18 18:08:39 2026 +0100
CMake: Use prefix for includedir in .pc file.
The exec_prefix is meant for machine-specific files whereas headers
are machine-independent.
diff --git a/zlib.pc.cmakein b/zlib.pc.cmakein
index 699a334..6f19473 100644
--- a/zlib.pc.cmakein
+++ b/zlib.pc.cmakein
@@ -2,7 +2,7 @@ prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
sharedlibdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${exec_prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: zlib
Description: zlib compression library