Merge pull request #39794 from obsidiansystems/ios-examples
lib, openssl: 2 misc bits towards iOS support
This commit is contained in:
commit
d350a444b7
@ -88,16 +88,36 @@ rec {
|
|||||||
#
|
#
|
||||||
|
|
||||||
iphone64 = {
|
iphone64 = {
|
||||||
config = "aarch64-apple-darwin14";
|
config = "aarch64-apple-ios";
|
||||||
arch = "arm64";
|
# config = "aarch64-apple-darwin14";
|
||||||
libc = "libSystem";
|
sdkVer = "10.2";
|
||||||
|
useiOSPrebuilt = true;
|
||||||
platform = {};
|
platform = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
iphone32 = {
|
iphone32 = {
|
||||||
config = "arm-apple-darwin10";
|
config = "armv7-apple-ios";
|
||||||
arch = "armv7-a";
|
# config = "arm-apple-darwin10";
|
||||||
libc = "libSystem";
|
sdkVer = "10.2";
|
||||||
|
useiOSPrebuilt = true;
|
||||||
|
platform = {};
|
||||||
|
};
|
||||||
|
|
||||||
|
iphone64-simulator = {
|
||||||
|
config = "x86_64-apple-ios";
|
||||||
|
# config = "x86_64-apple-darwin14";
|
||||||
|
sdkVer = "10.2";
|
||||||
|
useiOSPrebuilt = true;
|
||||||
|
isiPhoneSimulator = true;
|
||||||
|
platform = {};
|
||||||
|
};
|
||||||
|
|
||||||
|
iphone32-simulator = {
|
||||||
|
config = "i686-apple-ios";
|
||||||
|
# config = "i386-apple-darwin11";
|
||||||
|
sdkVer = "10.2";
|
||||||
|
useiOSPrebuilt = true;
|
||||||
|
isiPhoneSimulator = true;
|
||||||
platform = {};
|
platform = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -48,6 +48,8 @@ let
|
|||||||
then "./Configure mingw${toString hostPlatform.parsed.cpu.bits}"
|
then "./Configure mingw${toString hostPlatform.parsed.cpu.bits}"
|
||||||
else if hostPlatform.isLinux
|
else if hostPlatform.isLinux
|
||||||
then "./Configure linux-generic${toString hostPlatform.parsed.cpu.bits}"
|
then "./Configure linux-generic${toString hostPlatform.parsed.cpu.bits}"
|
||||||
|
else if hostPlatform.isiOS
|
||||||
|
then "./Configure ios${toString hostPlatform.parsed.cpu.bits}-cross"
|
||||||
else
|
else
|
||||||
throw "Not sure what configuration to use for ${hostPlatform.config}"
|
throw "Not sure what configuration to use for ${hostPlatform.config}"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user