Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Updated to compile with iOS 10.2, macOS 10.12 #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/curl_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ module CurlBuilder
verbose: false,
debug_symbols: false,
curldebug: false,
sdk_version: "9.3",
osx_sdk_version: "10.11",
sdk_version: "10.2",
osx_sdk_version: "10.12",
libcurl_version: "7.49.1",
architectures: %w(i386 armv7 armv7s arm64 x86_64),
xcode_home: "/Applications/Xcode.app/Contents/Developer",
Expand Down
2 changes: 1 addition & 1 deletion lib/curl_builder/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def compilation_flags_for(platform, architecture)
version = "6.0"
min_version = "-miphoneos-version-min=#{version}"
elsif platform == "iPhoneOS"
version = architecture == "arm64" ? "6.0" : "5.0"
version = "6.0"
min_version = "-miphoneos-version-min=#{version}"
else
min_version = "-mmacosx-version-min=10.7"
Expand Down