support and describe building static binaries

This commit is contained in:
Ross Kinder
2016-09-03 19:31:03 -04:00
parent 176078f607
commit db09fcec31
9 changed files with 199 additions and 9 deletions

View File

@@ -5,9 +5,6 @@ import (
"unsafe"
)
// #cgo linux CFLAGS: -w
// #cgo darwin CFLAGS: -Wno-invalid-pp-token -Wno-header-guard
// #cgo pkg-config: xmlsec1
// #include <xmlsec/xmlsec.h>
// #include <xmlsec/xmltree.h>
// #include <xmlsec/xmlenc.h>
@@ -15,7 +12,6 @@ import (
// #include <xmlsec/crypto.h>
import "C"
// #cgo pkg-config: libxml-2.0
// #include <libxml/parser.h>
// #include <libxml/parserInternals.h>
// #include <libxml/xmlmemory.h>