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