Skip to content

macOS: fix target detection#11417

Closed
icing wants to merge 1 commit intocurl:masterfrom
icing:macos-target-detect
Closed

macOS: fix target detection#11417
icing wants to merge 1 commit intocurl:masterfrom
icing:macos-target-detect

Conversation

@icing
Copy link
Contributor

@icing icing commented Jul 10, 2023

  • TARGET_OS_OSX is not always defined on macOS
  • this leads to missing symbol Curl_macos_init()
  • TargetConditionals.h seems to define these only when dynamic targets are enabled (somewhere?)
  • this PR fixes that on my macOS 13.4.1
  • I have no clue why CI builds worked without it

- TARGET_OS_OSX is not always defined on macOS
- this leads to missing symbol Curl_macos_init()
- TargetConditionals.h seems to define these only when
  dynamic targets are enabled (somewhere?)
- this PR fixes that on my macOS 13.4.1
- I have no clue why CI builds worked without it
Copy link
Member

@xquery xquery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@icing icing changed the title macOS: fix taget detection macOS: fix target detection Jul 10, 2023
@bagder bagder added the build label Jul 10, 2023
@bagder bagder closed this in c73b2f8 Jul 10, 2023
@bagder
Copy link
Member

bagder commented Jul 10, 2023

Thanks!

bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
- TARGET_OS_OSX is not always defined on macOS
- this leads to missing symbol Curl_macos_init()
- TargetConditionals.h seems to define these only when
  dynamic targets are enabled (somewhere?)
- this PR fixes that on my macOS 13.4.1
- I have no clue why CI builds worked without it

Follow-up to c730859
Closes curl#11417
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
- TARGET_OS_OSX is not always defined on macOS
- this leads to missing symbol Curl_macos_init()
- TargetConditionals.h seems to define these only when
  dynamic targets are enabled (somewhere?)
- this PR fixes that on my macOS 13.4.1
- I have no clue why CI builds worked without it

Follow-up to c730859
Closes curl#11417
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants