Skip to content

Commit

Permalink
build for macos 10.8 to avoid another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 3, 2023
1 parent 392a021 commit d118599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0
- Standalone `curl` tool and `libcurl` DLL. Static libraries included.
- Required: Windows Vista and
[Universal CRT](https://devblogs.microsoft.com/cppblog/introducing-the-universal-crt/),
macOS High Sierra 64-bit or Apple Silicon,
macOS 10.8 Mountain Lion 64-bit or Apple Silicon,
any Linux arm64 with the [MUSL](https://en.wikipedia.org/wiki/Musl) builds.
- [HTTP/3](https://en.wikipedia.org/wiki/HTTP/3),
[HTTP/2](https://en.wikipedia.org/wiki/HTTP/2) support,
Expand Down
4 changes: 2 additions & 2 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -754,11 +754,11 @@ build_single_target() {
if [ "${_HOSTOS}" != "${_OS}" ]; then
_CMAKE_GLOBAL="-DCMAKE_SYSTEM_NAME=Darwin ${_CMAKE_GLOBAL}"
fi
# macOS 10.9 Mavericks 2013-10-22. Seems to work for arm64 builds,
# macOS 10.8 Mountain Lion 2012-07-25. Seems to work for arm64 builds,
# though arm64 was released in macOS 11.0 Big Sur 2020-11-12.
# Bump to macOS 10.13 High Sierra 2017-09-25 if we decide to disable
# LDAP/LDAPS for macOS builds.
macminver='10.9'
macminver='10.8'
_CMAKE_GLOBAL="${_CMAKE_GLOBAL} -DCMAKE_OSX_DEPLOYMENT_TARGET=${macminver}"
_CFLAGS_GLOBAL="${_CFLAGS_GLOBAL} -mmacosx-version-min=${macminver}"
_CXXFLAGS_GLOBAL="${_CXXFLAGS_GLOBAL} -mmacosx-version-min=${macminver}"
Expand Down

0 comments on commit d118599

Please sign in to comment.