Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix linux CGO flags for go 1.10 #16

Open
jasonhancock opened this issue Feb 22, 2018 · 3 comments
Open

fix linux CGO flags for go 1.10 #16

jasonhancock opened this issue Feb 22, 2018 · 3 comments

Comments

@jasonhancock
Copy link

Building on linux with go 1.10 leads to:

github.com/crewjam/go-xmlsec: invalid flag in #cgo CFLAGS: -w
@jasonhancock
Copy link
Author

As a workaround:

CGO_CFLAGS_ALLOW='-w|-UXMLSEC_CRYPTO_DYNAMIC_LOADING' go build -o /tmp/foo

@avvari-da
Copy link

avvari-da commented May 21, 2019

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
Copy link

savp-RP commented May 22, 2019

@dheeraj2dj Other issue provides a temporary workaround for this. #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants