diff options
| author | Hiroshi Ioka <hirochachacha@gmail.com> | 2017-08-17 07:26:07 +0900 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-08-17 01:12:30 +0000 |
| commit | 064ae118c1b8db9a5704be2529675cdab05109db (patch) | |
| tree | 20ad689088dc4fe32e0cdc79c64091b9cdd49541 /src/plugin | |
| parent | f52ce42274573d39386f3bacc77ab2ef969d5a0d (diff) | |
| download | go-064ae118c1b8db9a5704be2529675cdab05109db.tar.xz | |
cmd/link: correct runtime/cgo detection for -linkshared
Current code detect runtime/cgo iff the package or sub packages imports
runtime/cgo directly. However, when we are using linkshared, imported
shared libraries might have already included runtime/cgo.
This CL handles later case by looking an actual runtime/cgo symbol.
Change-Id: I35e7dfdb5e1a939eafc95a0259ee1af9782bc864
Reviewed-on: https://go-review.googlesource.com/56310
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/plugin')
0 files changed, 0 insertions, 0 deletions
