LLGoPackage: PkgPyModule

This commit is contained in:
xushiwei
2024-05-11 06:44:45 +08:00
parent cca46573ea
commit 1414853fce
4 changed files with 8 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ func buildAllPkgs(prog llssa.Program, initial []*packages.Package, mode Mode, ve
// skip packages that only contain declarations
// and set no export file
pkg.ExportFile = ""
case cl.PkgLinkIR:
case cl.PkgLinkIR, cl.PkgPyModule:
// skip packages that don't need to be compiled but need to be linked
pkgPath := pkg.PkgPath
if isPkgInLLGo(pkgPath) {