Open progrium opened 5 months ago
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"
Although we fixed these warnings in the preview release, newer versions of Go cause this warning to show up when compiling DarwinKit programs:
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: