Skip to content

Commit

Permalink
precompile: also consider sysimage modules that activate extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Aug 8, 2023
1 parent af16bfa commit ef34889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ function precompile(ctx::Context, pkgs::Vector{PackageSpec}; internal_call::Bool
extdep_names = extdep_names isa String ? String[extdep_names] : extdep_names
for extdep_name in extdep_names
extdep_uuid = weakdeps[extdep_name]
if extdep_uuid in keys(ctx.env.manifest.deps)
if extdep_uuid in keys(ctx.env.manifest.deps) || Base.in_sysimage(PkgId(extdep_uuid, extdep_name))
push!(ext_deps, Base.PkgId(extdep_uuid, extdep_name))
else
all_extdeps_available = false
Expand Down

0 comments on commit ef34889

Please sign in to comment.