From 0752f9e5df94ae56becebceac0638711c4dbcf38 Mon Sep 17 00:00:00 2001 From: Mrs4s Date: Mon, 4 Dec 2023 17:58:31 +0800 Subject: [PATCH] fix ios build --- shared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared.go b/shared.go index b4f51727..811ee876 100644 --- a/shared.go +++ b/shared.go @@ -387,7 +387,7 @@ func listPackage(from *listedPackage, path string) (*listedPackage, error) { // We already have it; skip. case sharedCache.GoEnv.GOOS != "js" && linknamed == "syscall/js": // GOOS-specific package. - case sharedCache.GoEnv.GOOS != "darwin" && linknamed == "crypto/x509/internal/macos": + case sharedCache.GoEnv.GOOS != "darwin" && sharedCache.GoEnv.GOOS != "ios" && linknamed == "crypto/x509/internal/macos": // GOOS-specific package. default: missing = append(missing, linknamed)