Skip to content

Commit f891e58

Browse files
committed
define include
1 parent 292db3a commit f891e58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AutoBuild.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ supported ones. A few additional keyword arguments are accept:
142142
143143
* `augment_platform_block` may be set to a string containing Julia code; if
144144
present, this code will be inserted into the top-level of the
145-
generated JLL package. It must define a function `augment_platform` that takes
145+
generated JLL package. It must define a function `augment_platform!` that takes
146146
as a single argument, the target platform and returns the target platform, with
147147
amended tags. This augmented platform will then be used by the JLL wrapper to select
148148
the artifact.
@@ -1304,6 +1304,7 @@ function build_jll_package(src_name::String,
13041304

13051305
if !isempty(augment_platform_block)
13061306
print(io, """
1307+
include(path) = Base.include(@__MODULE__, path)
13071308
include(joinpath("..", ".pkg", "platform_augmentation.jl"))
13081309
""")
13091310
end

0 commit comments

Comments
 (0)