Add support for building tree-sitter modules with MinGW
* admin/notes/tree-sitter/build-module/build.sh: Add support for building tree-sitter modules with MinGW.
This commit is contained in:
parent
af28191b04
commit
00675aa724
1 changed files with 11 additions and 6 deletions
|
@ -3,12 +3,17 @@
|
||||||
lang=$1
|
lang=$1
|
||||||
topdir="$PWD"
|
topdir="$PWD"
|
||||||
|
|
||||||
if [ $(uname) == "Darwin" ]
|
case $(uname) in
|
||||||
then
|
"Darwin")
|
||||||
soext="dylib"
|
soext="dylib"
|
||||||
else
|
;;
|
||||||
soext="so"
|
*"MINGW"*)
|
||||||
fi
|
soext="dll"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
soext="so"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo "Building ${lang}"
|
echo "Building ${lang}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue