crewjam / go-xmlsec

golang bindings for xmlsec
BSD 2-Clause "Simplified" License
26 stars 13 forks source link

fix linux CGO flags for go 1.10 #16

Open jasonhancock opened 6 years ago

jasonhancock commented 6 years ago

Building on linux with go 1.10 leads to:

github.com/crewjam/go-xmlsec: invalid flag in #cgo CFLAGS: -w
jasonhancock commented 6 years ago

As a workaround:

CGO_CFLAGS_ALLOW='-w|-UXMLSEC_CRYPTO_DYNAMIC_LOADING' go build -o /tmp/foo
avvari-da commented 5 years ago

github.com/<username>/<repo_name>/vendor/github.com/crewjam/go-xmlsec: invalid flag in #cgo CFLAGS: -UXMLSEC_CRYPTO_DYNAMIC_LOADING

Am getting this error. Can anyone please help?

savp-RP commented 5 years ago

@dheeraj2dj Other issue provides a temporary workaround for this. https://github.com/crewjam/go-xmlsec/issues/19