forked from MeloNX/MeloNX
Add toolchain path to all operating systems correctly
This commit is contained in:
parent
ffcb51bafb
commit
99869f9d07
@ -60,7 +60,12 @@ tasks.register('compileLibRyujinx', Exec) {
|
||||
workingDir '../../LibRyujinx'
|
||||
|
||||
if (toolchainPath != null) {
|
||||
environment "PATH", "${toolchainPath}:${providers.environmentVariable("PATH").get()}"
|
||||
if (OperatingSystem.getName() == "windows") {
|
||||
environment "PATH", "${toolchainPath};${providers.environmentVariable("PATH").get()}"
|
||||
}
|
||||
else {
|
||||
environment "PATH", "${toolchainPath}:${providers.environmentVariable("PATH").get()}"
|
||||
}
|
||||
}
|
||||
|
||||
doFirst {
|
||||
|
Loading…
x
Reference in New Issue
Block a user