Skip to content

Commit 59db868

Browse files
committed
Fix add_os_version() for AnyPlatform
1 parent 5e80d0f commit 59db868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build_api/PackageConfig.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function add_os_version(platform::Platform, target_spec::BuildTargetSpec)
273273
# Unable to find an OS version, that's fine!
274274
return platform
275275
end
276-
276+
add_os_version(any::AnyPlatform, ::BuildTargetSpec) = any
277277
function add_os_version(cp::CrossPlatform, target_spec::BuildTargetSpec)
278278
return CrossPlatform(add_os_version(cp.host, target_spec) => cp.target)
279279
end

0 commit comments

Comments
 (0)