attempt to fix build

This commit is contained in:
root
2018-03-15 11:15:37 +00:00
parent 9b9bbf4ed1
commit a38a3fabe1
4 changed files with 28 additions and 53 deletions

14
cgo.go Normal file
View File

@@ -0,0 +1,14 @@
package xmlsec
// #cgo pkg-config: xmlsec1 libxml-2.0
// #cgo linux CFLAGS: -w
// #cgo linux LDFLAGS: -lxml2 -lm
// #include <xmlsec/xmlsec.h>
// #include <xmlsec/xmltree.h>
// #include <xmlsec/xmlenc.h>
// #include <xmlsec/templates.h>
// #include <xmlsec/crypto.h>
// #include <libxml/parser.h>
// #include <libxml/parserInternals.h>
// #include <libxml/xmlmemory.h>
import "C"