diff options
author | Platon Pronko | 2024-04-06 12:36:12 +0500 |
---|---|---|
committer | Platon Pronko | 2024-04-06 12:36:12 +0500 |
commit | 8f83e6ae5b37493dd5ba2723a812c23f618cf74d (patch) | |
tree | a3239755544cbce669f18d4e770d218373290f45 /PKGBUILD | |
parent | 655ed2c5ea0f33c4c8c9da2716abf88c9587c4ca (diff) | |
download | aur-tree-sitter-typescript-git.tar.gz |
fix compilation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=tree-sitter-typescript-git pkgver=0.20.2.r10.g3429d8c -pkgrel=2 +pkgrel=3 pkgdesc="TypeScript and TSX grammar for tree-sitter" arch=('x86_64') url="https://github.com/tree-sitter/tree-sitter-typescript" @@ -32,11 +32,11 @@ pkgver() { build() { cd "$srcdir/$pkgname/typescript/src/" - cc $CFLAGS -std=c99 -c parser.c scanner.c + cc $CFLAGS -I. -std=c99 -c parser.c scanner.c cc $LDFLAGS -shared parser.o scanner.o -o "$srcdir/parser-ts.so" cd "$srcdir/$pkgname/tsx/src/" - cc $CFLAGS -std=c99 -c parser.c scanner.c + cc $CFLAGS -I. -std=c99 -c parser.c scanner.c cc $LDFLAGS -shared parser.o scanner.o -o "$srcdir/parser-tsx.so" } |