Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Apr 2, 2024
1 parent d3cdae8 commit 93ae22e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 1k/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ else {

$Global:target_minsdk = $options.minsdk
if(!$Global:target_minsdk) {
$Global:target_minsdk = @{osx = '10.12'; winrt = '10.0.17763.0'}[$TARGET_OS]
$Global:target_minsdk = @{osx = '10.13'; winrt = '10.0.17763.0'}[$TARGET_OS]
}

# define some useful global vars
Expand Down
3 changes: 3 additions & 0 deletions src/openssl/build1.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ else {

if ($Global:is_mac) {
$TARGET_OPTIONS += "darwin64-$ossl_target_cpu-cc"
if ($Global:target_minsdk) {
$TARGET_OPTIONS += "-mmacosx-version-min=$Global:target_minsdk"
}
}
elseif ($Global:is_ios -or $Global:is_tvos) {
$ossl_target_os = "$target_os-"
Expand Down

0 comments on commit 93ae22e

Please sign in to comment.