Skip to content

Commit 51aadf9

Browse files
committed
remove stale comment
1 parent 5e8fadb commit 51aadf9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/mkcgo/generate.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,9 +676,7 @@ func goSymName(name string) string {
676676

677677
// getFrameworkPath returns the absolute framework path.
678678
func getFrameworkPath(dylib mkcgo.Framework) string {
679-
// Special case for OpenSSL which is a dylib, not a framework
680679
if dylib.Name == "" && dylib.Version == "" {
681-
// For OpenSSL on macOS, use the Homebrew path (ARM64 Macs use /opt/homebrew, Intel Macs use /usr/local)
682680
return ""
683681
}
684682
return fmt.Sprintf("/System/Library/Frameworks/%s.framework/Versions/%s/%s", dylib.Name, dylib.Version, dylib.Name)

0 commit comments

Comments
 (0)