vcpkg/ports/tree-sitter/pkgconfig.patch

23 lines
613 B
Diff
Raw Normal View History

diff --git a/tree-sitter.pc.in b/lib/tree-sitter.pc.in
similarity index 61%
rename from tree-sitter.pc.in
rename to lib/tree-sitter.pc.in
index f98816cb..71a3b4f9 100644
--- a/tree-sitter.pc.in
+++ b/lib/tree-sitter.pc.in
@@ -1,10 +1,10 @@
-prefix=@PREFIX@
-libdir=@LIBDIR@
-includedir=@INCLUDEDIR@
+prefix=@CMAKE_INSTALL_PREFIX@
+libdir=${prefix}@/lib
+includedir=${prefix}/include
Name: tree-sitter
Description: An incremental parsing system for programming tools
URL: https://tree-sitter.github.io/
-Version: @VERSION@
+Version: @PROJECT_VERSION@
Libs: -L${libdir} -ltree-sitter
Cflags: -I${includedir}