()
| 768 | } |
| 769 | |
| 770 | func (b BuildConfig) buildLibraryType() libraryType { |
| 771 | var libraryType libraryType |
| 772 | if b.BuildShared == nil && b.BuildStatic == nil { |
| 773 | libraryType.shared = true |
| 774 | } else { |
| 775 | if b.BuildShared != nil { |
| 776 | libraryType.shared = *b.BuildShared |
| 777 | } |
| 778 | if b.BuildStatic != nil { |
| 779 | libraryType.static = *b.BuildStatic |
| 780 | } |
| 781 | } |
| 782 | return libraryType |
| 783 | } |
| 784 | |
| 785 | // checkSymlink create a symlink in the sysroot. |
| 786 | func (b BuildConfig) checkSymlink(src, dest string) error { |
no outgoing calls
no test coverage detected