We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8aa844 commit 8afbd58Copy full SHA for 8afbd58
deps/build.jl
@@ -51,7 +51,10 @@ const dlprefix = Compat.Sys.iswindows() ? "" : "lib"
51
const PYCALL_DEBUG_BUILD = "yes" == get(ENV, "PYCALL_DEBUG_BUILD", "no")
52
53
function exec_find_libpython(python::AbstractString, options)
54
- cmd = `$python $(joinpath(@__DIR__, "find_libpython.py")) $options`
+ # Do not inline `@__DIR__` into the backticks to expand correctly.
55
+ # See: https://github.com/JuliaLang/julia/issues/26323
56
+ script = joinpath(@__DIR__, "find_libpython.py")
57
+ cmd = `$python $script $options`
58
if PYCALL_DEBUG_BUILD
59
cmd = `$cmd --verbose`
60
end
0 commit comments