forked from curl/curl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macOS: Fix crash on OS X 10.8 caused by missing connectx function
The connectx() function call appeared in Darwin 15.0.0. That covers OS X 10.11, iOS 9 and tvOS 9. Because connectx is not declared with weak_import attribute it's not possible to build libcurl on OS X 10.11 and later and target systems which don't have _connectx symbol declared in libsystem_kernel.dylib (i.e. OS X 10.8 and earlier). Solution is to use connectx only on platforms that officially support it i.e. by defining CFLAGS="-mmacosx-version-min=10.11" in configure step. Note: It is possible to conditionally use connectx() in libcurl targeting range of systems based on availability determined during runtime using dlsym(). Fixes curl#1330 Closes curl#1336
- Loading branch information
1 parent
440dbcb
commit f28aac9
Showing
7 changed files
with
86 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters