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

Static linking fix #37

Merged
merged 1 commit into from
Sep 13, 2023
Merged

Conversation

noname0443
Copy link
Collaborator

Command

GOOS=linux go build -ldflags "-linkmode external -extldflags -static" -o ./cmd/mysync/mysync ./cmd/mysync/...

have problems on Mac. It's sounds like good idea to make static linking only for packages which use cgo.

@teem0n teem0n merged commit ccdc825 into yandex:master Sep 13, 2023
47 checks passed
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

Successfully merging this pull request may close these issues.

2 participants