mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
configure: catch Apple in more target triplets
Before this patch, only these triplets were considered Apple: `<cpu>-apple-darwin` After this patch, these are also considered Apple: `<cpu>-apple-(ios*|tvos*|visionos*|watchos*|<ETC>)` `$host_os` (the last third of the triplet) still has a valid use to differentiate between OS flavours, though for now this isn't used, aligning with CMake. Closes #14728
This commit is contained in:
parent
9f56bb608e
commit
30ab1133c4
5 changed files with 20 additions and 19 deletions
|
|
@ -34,8 +34,8 @@ if test "x$OPT_RUSTLS" != xno; then
|
|||
CLEANLDFLAGS="$LDFLAGS"
|
||||
CLEANCPPFLAGS="$CPPFLAGS"
|
||||
|
||||
case $host_os in
|
||||
darwin*)
|
||||
case $host in
|
||||
*-apple-*)
|
||||
LDFLAGS="$LDFLAGS -framework Security"
|
||||
;;
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue