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 2460282 commit 1c5d7b7Copy full SHA for 1c5d7b7
nimjl/config.nim
@@ -32,7 +32,7 @@ when defined(nimjl_cross_compile):
32
JuliaLibPattern = JuliaLibPath / libPrefix & "julia*" & libSuffix
33
prefixLen = len(libPrefix)+len("julia")+1 # length of the string 'libjulia.'
34
suffixLen = len(libSuffix)
35
- JlVersionCmd = fmt"name=$(echo libjulia.*.*.*.dylib); vers=${name:{prefixLen}:-{suffixLen}}; echo $vers"
+ JlVersionCmd = fmt"cd {JuliaLibPath} && name=$(echo libjulia.*.*.*.dylib); vers=$\{name:{prefixLen}:-{suffixLen}\}; echo $vers"
36
else:
37
const JlVersionCmd = JuliaPath / "bin" / "julia" & " -E VERSION"
38
0 commit comments