[emacs] fix building tree-sitter-module

This commit is contained in:
Gwenhael Le Moine 2023-04-28 14:09:38 +02:00
parent 33826b7bf1
commit e6845eff36
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -191,7 +191,7 @@ fi
git clone https://github.com/casouri/tree-sitter-module git clone https://github.com/casouri/tree-sitter-module
cd tree-sitter-module cd tree-sitter-module
sed -i 's|cc -c -I. parser.c|cc -fPIC -c -I. parser.c|' build.sh sed -i 's|cc -c -I. parser.c|cc -fPIC -c -I. parser.c|' build.sh
JOBS=$NUMJOBS bash ./batch.sh bash ./batch.sh
cp dist/*.so "$PKG/usr/lib$(uname -m | grep -o 64)/" cp dist/*.so "$PKG/usr/lib$(uname -m | grep -o 64)/"
cd .. cd ..
# /tree-sitter grammars # /tree-sitter grammars