Search
SailfishOS Open Build Service
>
Projects
>
home:fooxl
:
sailfish
>
go1.6
> allow-binary-only-packages.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File allow-binary-only-packages.patch of Package go1.6
diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go index 0c0cf07..4c0e450 100644 --- a/src/cmd/go/pkg.go +++ b/src/cmd/go/pkg.go @@ -365,7 +365,7 @@ func loadImport(path, srcDir string, parent *Package, stk *importStack, importPo // Not vendoring, or we already found the vendored path. buildMode |= build.IgnoreVendor } - bp, err := buildContext.Import(path, srcDir, buildMode) + bp, err := buildContext.Import(path, srcDir, build.AllowBinary|buildMode) bp.ImportPath = importPath if gobin != "" { bp.BinDir = gobin