diff --git a/c/cjson/README.md b/c/cjson/README.md index b1326213..a76286a9 100644 --- a/c/cjson/README.md +++ b/c/cjson/README.md @@ -7,7 +7,11 @@ LLGo wrapper of DaveGamble/cJSON [![Language](https://img.shields.io/badge/language-Go+-blue.svg)](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 diff --git a/c/cjson/cjson.go b/c/cjson/cjson.go index e638e551..ea1872b4 100644 --- a/c/cjson/cjson.go +++ b/c/cjson/cjson.go @@ -23,7 +23,7 @@ import ( ) const ( - LLGoPackage = "link: cjson" + LLGoPackage = "link: $(pkg-config --libs libcjson)" ) // llgo:type C