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.
isdebugbuild()
ccall
1 parent 6772e0d commit 852e9deCopy full SHA for 852e9de
src/juliaconfig.jl
@@ -15,12 +15,12 @@ end
15
16
function julia_private_libdir()
17
if Base.DARWIN_FRAMEWORK # taken from Libdl tests
18
- if ccall(:jl_is_debugbuild, Cint, ()) != 0
+ if isdebugbuild() != 0
19
dirname(abspath(Libdl.dlpath(Base.DARWIN_FRAMEWORK_NAME * "_debug")))
20
else
21
joinpath(dirname(abspath(Libdl.dlpath(Base.DARWIN_FRAMEWORK_NAME))),"Frameworks")
22
end
23
- elseif ccall(:jl_is_debugbuild, Cint, ()) != 0
+ elseif isdebugbuild() != 0
24
dirname(abspath(Libdl.dlpath("libjulia-internal-debug")))
25
26
dirname(abspath(Libdl.dlpath("libjulia-internal")))
0 commit comments