mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 11:26:24 +02:00
Add toolchain path to all operating systems correctly
This commit is contained in:
parent
ffcb51bafb
commit
99869f9d07
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue