Merge pull request #438 from visualfc/build_link

build: fix link runtime
This commit is contained in:
xushiwei
2024-07-02 19:43:11 +08:00
committed by GitHub

View File

@@ -356,7 +356,7 @@ func linkMainPkg(pkg *packages.Package, pkgs []*aPackage, llFiles []string, conf
}
dirty := false
if needRuntime && llFiles != nil {
if needRuntime {
for _, file := range llFiles {
args = appendLinkFiles(args, file)
}