Skip to content

Commit

Permalink
fix for tests/core/cgo:cc_libs_test
Browse files Browse the repository at this point in the history
  • Loading branch information
jayconrod authored and Jay Conrod committed Sep 5, 2018
1 parent 4c45fcd commit 0f0d007
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/core/cgo/cc_libs_darwin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ func TestBinaries(t *testing.T) {
}{
{
shortPath: "tests/core/cgo/pure_bin",
wantLibs: map[string]bool{"libSystem": false, "libc++": false},
// Since go1.11, pure binaries have a dependency on libSystem.
// This is true with go tool link -linkmode=internal
// and with CGO_ENABLED=0 go build ...
wantLibs: map[string]bool{"libc++": false},
}, {
shortPath: "tests/core/cgo/c_srcs_bin",
wantLibs: map[string]bool{"libSystem": true, "libc++": false},
Expand Down

0 comments on commit 0f0d007

Please sign in to comment.