set correct paths for ndll for linxuarm and linuxarm64 (raspberrypi)

and remove conflicting legacy includepaths in build.xml
This commit is contained in:
Patrick Gutlich
2024-08-18 17:12:47 +02:00
parent 95baa58eff
commit 40764acbf3
6 changed files with 57 additions and 89 deletions

View File

@@ -78,16 +78,14 @@ class SVGExport
case LINUX:
var arguments = Sys.args();
var raspberryPi = false;
for (argument in arguments)
if ( System.hostArchitecture == ARMV7 )
{
if (argument == "-rpi") raspberryPi = true;
untyped $loader.path = $array(path + "LinuxArm/", $loader.path);
}
if (raspberryPi)
else if (System.hostArchitecture == ARM64)
{
untyped $loader.path = $array(path + "RPi/", $loader.path);
untyped $loader.path = $array(path + "LinuxArm64/", $loader.path);
}
else if (System.hostArchitecture == X64)
{