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

ignoring duplicate libraries warning #262

Open
progrium opened this issue Jun 21, 2024 · 0 comments
Open

ignoring duplicate libraries warning #262

progrium opened this issue Jun 21, 2024 · 0 comments

Comments

@progrium
Copy link
Owner

Although we fixed these warnings in the preview release, newer versions of Go cause this warning to show up when compiling DarwinKit programs:

# command-line-arguments
ld: warning: ignoring duplicate libraries: '-lobjc'

This is a known issue upstream in cgo. This issue will track it here. Although it's just a warning, you can suppress it by exporting this environment variable before building:

export CGO_LDFLAGS="-Wl,-no_warn_duplicate_libraries"
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

1 participant