Update README.md

This commit is contained in:
Oscar 2020-06-26 09:53:00 +08:00 committed by GitHub
parent 1727b1a799
commit c3e293c349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,10 +27,14 @@ https://golang.org/doc/install
### Build
check PKG_CONFIG_PATH environment value.
check PKG_CONFIG_PATH,CGO_CFLAGS,CGO_LDFLAGS environment values.
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:-}:$HOME/compiled/lib/pkgconfig"
export CGO_CFLAGS="-I$HOME/compiled/include"
export CGO_LDFLAGS="-L$HOME/compiled/lib"
```
git clone https://github.com/oscar-davids/lpmsdemo.git