Skip to content

Commit

Permalink
Merge pull request #222 from leamingrad/update-compiler-invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekStride authored Nov 10, 2023
2 parents 764c1bd + a3b968f commit f8ebb59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ let package = Package(
],
sources: [
"src/parser.c",
"src/scanner.c",
],
publicHeadersPath: "bindings/swift",
cSettings: [.headerSearchPath("src")])
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Tree-sitter parsers need to be compiled as a shared-object / dynamic-library, yo
`-shared` & `-fPIC` flags to your compiler.

```bash
cc -shared -fPIC -I./src src/parser.c -o sql.so
cc -shared -fPIC -I./src src/parser.c src/scanner.c -o sql.so
```

## Features
Expand Down

0 comments on commit f8ebb59

Please sign in to comment.