Skip to content

Commit

Permalink
precompile: also consider sysimage modules that activate extensions (#…
Browse files Browse the repository at this point in the history
…3572)

(cherry picked from commit 07739f5)
  • Loading branch information
IanButterworth committed Aug 18, 2023
1 parent d0d5dda commit 2049777
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 @@ -1155,7 +1155,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(Base.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 2049777

Please sign in to comment.