# Fix paths in pkgconfig file

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -210,7 +210,7 @@
     1000000
     CACHE STRING "wait time in nanosecond to acquire a lock.")
 set(GRN_RELATIVE_PLUGINS_DIR
-    "${CMAKE_INSTALL_LIBDIR}/${GRN_PROJECT_NAME}/plugins")
+    "lib/${GRN_PROJECT_NAME}/plugins")
 set(GRN_PLUGINS_DIR "${CMAKE_INSTALL_PREFIX}/${GRN_RELATIVE_PLUGINS_DIR}")
 set(GRN_PLUGIN_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}")
 set(GRN_RELATIVE_GGML_BACKENDS_DIR
@@ -1934,8 +1934,8 @@
 set(exec_prefix "\${prefix}")
 set(bindir "\${exec_prefix}/${CMAKE_INSTALL_BINDIR}")
 set(sbindir "\${exec_prefix}/${CMAKE_INSTALL_SBINDIR}")
-set(libdir "\${prefix}/${CMAKE_INSTALL_LIBDIR}")
-set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
+set(libdir "\${prefix}/lib")
+set(includedir "\${prefix}/include")
 set(datarootdir "\${prefix}/${CMAKE_INSTALL_DATAROOTDIR}")
 set(datadir "\${datarootdir}")
 set(expanded_pluginsdir "${GRN_PLUGINS_DIR}")
