forked from MeloNX/MeloNX
Add toolchain path to all operating systems correctly
This commit is contained in:
parent
733f13fe0e
commit
9d8e02dd0e
@ -60,7 +60,12 @@ tasks.register('compileLibRyujinx', Exec) {
|
|||||||
workingDir '../../LibRyujinx'
|
workingDir '../../LibRyujinx'
|
||||||
|
|
||||||
if (toolchainPath != null) {
|
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 {
|
doFirst {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user