mirror of
https://github.com/enso-org/enso.git
synced 2024-11-09 17:51:29 +03:00
Changing the enso_parser library location to match Intel Mac (#3850)
This commit is contained in:
parent
73666df8fa
commit
db13084828
@ -135,8 +135,14 @@ object DistributionPackage {
|
||||
cacheFactory.make("engine-jars")
|
||||
)
|
||||
val os = System.getProperty("os.name")
|
||||
val parser = "target/rust/debug/" + (if (os.startsWith("Mac")) {
|
||||
"x86_64-apple-darwin/libenso_parser.dylib"
|
||||
val isMac = os.startsWith("Mac")
|
||||
val dir = if (isMac) {
|
||||
"target/rust/x86_64-apple-darwin/debug/"
|
||||
} else {
|
||||
"target/rust/debug/"
|
||||
}
|
||||
val parser = dir + (if (isMac) {
|
||||
"libenso_parser.dylib"
|
||||
} else if (os.startsWith("Windows")) {
|
||||
"enso_parser.dll"
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user