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

Feature(for release) request: statically linked release #458

Closed
honwen opened this issue May 20, 2018 · 2 comments
Closed

Feature(for release) request: statically linked release #458

honwen opened this issue May 20, 2018 · 2 comments

Comments

@honwen
Copy link
Contributor

honwen commented May 20, 2018

Release in https://github.com/jedisct1/dnscrypt-proxy/releases

Some are statically linked, like linux_mips
Some are dynamically linked, like linux_x86_64

Can U release binary all statically linked, please? THX a lot.

@jedisct1
Copy link
Member

Duh?

Go cannot produce dynamically linked executables.

@jedisct1
Copy link
Member

Ah, interesting, when the thing is compiled on Linux (as Travis does), it depends on /lib64/ld-linux-x86-64.so.2, but if you compile it on macOS, you get a static executable.

Apparently, the -tags netgo can avoid this.

But you obviously have far more experience with Go than me, so I'd gladly accept a pull request to change the Travis file and build static files, provided that it doesn't remove features or degrades performance.

Thanks for your help!

@DNSCrypt DNSCrypt locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants