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

Set extldflags to static when building #3384

Merged
merged 2 commits into from
Apr 24, 2017
Merged

Set extldflags to static when building #3384

merged 2 commits into from
Apr 24, 2017

Conversation

munnerz
Copy link
Contributor

@munnerz munnerz commented Apr 24, 2017

This sets the -static ldflag when building Hugo, so that it can be run in a minimal Docker container.

EDIT: Does in fact work fine when building for Windows

Closes #3382

@munnerz
Copy link
Contributor Author

munnerz commented Apr 24, 2017

/cc @bep

@CLAassistant
Copy link

CLAassistant commented Apr 24, 2017

CLA assistant check
All committers have signed the CLA.

@munnerz
Copy link
Contributor Author

munnerz commented Apr 24, 2017

After testing, it seems all is fine on Windows!

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hugo binary no longer statically linked on Linux (starting 0.20.3)
3 participants