Subject: [PATCH] [nt/INSTALL.W64] configure error about missing tree-sitter
From: Nerd <[email-masked]>
To: [email-masked]
Cc: Nerd <[email-masked]>
Date: Mon, 18 Nov 2024 23:03:12 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

configure: error: The following required libraries were not found:
     tree-sitter
    Maybe some development libraries/packages are missing?
    To build anyway, give:
         --with-tree-sitter=ifavailable
        as options to configure.

https://packages.msys2.org/base/mingw-w64-tree-sitter
it seems that tree-sitter on msys2/mingw-w64 has two libraries
mingw-w64-x86_64-libtree-sitter and mingw-w64-x86_64-tree-sitter
---
 nt/INSTALL.W64 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nt/INSTALL.W64 b/nt/INSTALL.W64
index 9694e85f269d..87eecff779a0 100644
--- a/nt/INSTALL.W64
+++ b/nt/INSTALL.W64
@@ -60,6 +60,7 @@ packages (you can copy and paste it into the shell with Shift + Insert):
   mingw-w64-x86_64-harfbuzz \
   mingw-w64-x86_64-libgccjit \
   mingw-w64-x86_64-sqlite3 \
+  mingw-w64-x86_64-libtree-sitter \
   mingw-w64-x86_64-tree-sitter
 
 The packages include the base developer tools (autoconf, grep, make,
-- 
2.47.0