llgo/x/cjson:link cjson by pkg-config
This commit is contained in:
@@ -7,7 +7,11 @@ LLGo wrapper of DaveGamble/cJSON
|
||||
[](https://github.com/goplus/gop)
|
||||
|
||||
## How to install
|
||||
|
||||
### on macOS (Homebrew)
|
||||
```sh
|
||||
brew install cjson
|
||||
```
|
||||
### from source code
|
||||
```sh
|
||||
git clone https://github.com/goplus/cjson.git
|
||||
cd cjson
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
LLGoPackage = "link: cjson"
|
||||
LLGoPackage = "link: $(pkg-config --libs libcjson)"
|
||||
)
|
||||
|
||||
// llgo:type C
|
||||
|
||||
Reference in New Issue
Block a user