IOSPlatform: don't copy 32-bit liblime.iphonesim.a by default
Followup to commit 1186d9e
This commit is contained in:
@@ -246,6 +246,7 @@ class IOSPlatform extends PlatformTarget
|
||||
var armv7 = false;
|
||||
var armv7s = false;
|
||||
var arm64 = false;
|
||||
var i386 = false;
|
||||
var architectures = project.architectures;
|
||||
|
||||
if (architectures == null || architectures.length == 0)
|
||||
@@ -277,6 +278,9 @@ class IOSPlatform extends PlatformTarget
|
||||
case ARM64:
|
||||
valid_archs.push("arm64");
|
||||
arm64 = true;
|
||||
case X86:
|
||||
valid_archs.push("i386");
|
||||
i386 = true;
|
||||
default:
|
||||
}
|
||||
}
|
||||
@@ -284,7 +288,6 @@ class IOSPlatform extends PlatformTarget
|
||||
context.CURRENT_ARCHS = "( " + valid_archs.join(",") + ") ";
|
||||
|
||||
valid_archs.push("x86_64");
|
||||
valid_archs.push("i386");
|
||||
|
||||
context.VALID_ARCHS = valid_archs.join(" ");
|
||||
context.THUMB_SUPPORT = armv6 ? "GCC_THUMB_SUPPORT = NO;" : "";
|
||||
@@ -309,6 +312,7 @@ class IOSPlatform extends PlatformTarget
|
||||
context.ARMV7 = armv7;
|
||||
context.ARMV7S = armv7s;
|
||||
context.ARM64 = arm64;
|
||||
context.I386 = i386;
|
||||
context.TARGET_DEVICES = switch (project.config.getString("ios.device", "universal"))
|
||||
{
|
||||
case "iphone": "1";
|
||||
@@ -804,6 +808,8 @@ class IOSPlatform extends PlatformTarget
|
||||
|
||||
if (arch == "arm64" && !context.ARM64) continue;
|
||||
|
||||
if (arch == "i386" && !context.I386) continue;
|
||||
|
||||
var libExt = [
|
||||
".iphoneos.a",
|
||||
".iphoneos-v7.a",
|
||||
|
||||
Reference in New Issue
Block a user