This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 605
How to build libcurl with nghttp2 for macos
erikhopf-amzn edited this page Aug 8, 2017
·
5 revisions
Building for macOS requires some additional setup. Specifically, you need to ensure that you are running the latest version of cURL and that cURL is linked to nghttp2 (the default installation does not).
To recompile cURL, follow these instructions:
- Install Homebrew, if you haven't done so already.
- Install cURL with HTTP2 support:
brew install curl --with-nghttp2
- Force cURL to explicitly link to the updated binary:
brew link curl --force
- Close and reopen terminal.
- Confirm version and source with this command:
brew info curl
API Reference
Quick-start Guides
- All Quick-start Guides
- For Android
- Cross-compile for iOS
- Generic Linux
- For macOS
- For Raspberry Pi
- For Ubuntu Linux
- For Windows 64-bit
Other Guides + Optimizations
- Authorizing AVS Device SDK Software with AVS
- Build libcurl with mbed TLS and nghttp2
- Build libcurl with nghttp2 for macOS
- Optimize libcurl for Size
- Runtime Configuration for CA Certificates
- Updating the SDK
Development Kits
Resources