-
Notifications
You must be signed in to change notification settings - Fork 29
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
Link liboqs statically #25
Comments
Here is an example as used by go-rosenpass: cunicu/go-rosenpass@fb93e83 |
@stv0g Thanks, I'll look into it this week |
@stv0g The only way to link statically is a bit hacky. In the cgo preamble of Line 5 in e3e8743
#cgo LDFLAGS: /usr/local/liboqs.a (of course with the path corresponding to your location of liboqs.a). Make sure you don't add any additional new line(s).
Next, comment (add a Line 9 in e3e8743
Finally, do a As far as I know, there's no elegant way of statically linking by only modifying the |
Fixed by #37 |
Does liboqs-go support static linking against liboqs?
I would like to build a statically linked Go executable without external depdendencies..
The text was updated successfully, but these errors were encountered: