commit | 6675ed2a9028caf87bb5915503c08a595e57b77d | [log] [tgz] |
---|---|---|
author | John Arbash Meinel <john@arbash-meinel.com> | Thu Mar 14 07:42:25 2013 +0400 |
committer | John Arbash Meinel <john@arbash-meinel.com> | Thu Mar 14 07:42:25 2013 +0400 |
tree | b6a4314dadf1aef1dc5c42a71bcbcf34846f55f9 | |
parent | 93d787c44dc828e1c67fa275cb66eb86bb2929f8 [diff] |
You don't have to link -lyaml, just fix the declarations.
diff --git a/decode.go b/decode.go index 6f209f4..b5046c5 100644 --- a/decode.go +++ b/decode.go
@@ -1,7 +1,6 @@ package goyaml // #cgo LDFLAGS: -lm -lpthread -// #cgo windows LDFLAGS: -L. -lyaml // #cgo windows CFLAGS: -DYAML_DECLARE_STATIC=1 // #cgo CFLAGS: -I. -DHAVE_CONFIG_H=1 //