Pass --with-macosx-version-min-required into external/curl
...which wants to take it from CFLAGS, otherwise defaults to 10.8 Change-Id: I1b086ee8abba1e4b46c67b6b4fe6a05c4ef7a3d8
This commit is contained in:
@@ -366,6 +366,7 @@ export MACOSX_SDK_PATH=@MACOSX_SDK_PATH@
|
||||
export MACOSX_SDK_VERSION=@MACOSX_SDK_VERSION@
|
||||
export MAC_OS_X_VERSION_MAX_ALLOWED=@MAC_OS_X_VERSION_MAX_ALLOWED@
|
||||
export MAC_OS_X_VERSION_MIN_REQUIRED=@MAC_OS_X_VERSION_MIN_REQUIRED@
|
||||
export MAC_OS_X_VERSION_MIN_REQUIRED_DOTS=@MAC_OS_X_VERSION_MIN_REQUIRED_DOTS@
|
||||
export MANDIR=@MANDIR@
|
||||
export MARIADBC_MAJOR=@MARIADBC_MAJOR@
|
||||
export MARIADBC_MICRO=@MARIADBC_MICRO@
|
||||
|
@@ -2706,6 +2706,7 @@ if test $_os = Darwin -o $_os = iOS; then
|
||||
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.9--13])
|
||||
;;
|
||||
esac
|
||||
MAC_OS_X_VERSION_MIN_REQUIRED_DOTS=$with_macosx_version_min_required
|
||||
|
||||
LIBTOOL=/usr/bin/libtool
|
||||
INSTALL_NAME_TOOL=install_name_tool
|
||||
@@ -2842,6 +2843,7 @@ AC_SUBST(MACOSX_SDK_PATH)
|
||||
AC_SUBST(MACOSX_SDK_VERSION)
|
||||
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
|
||||
AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED)
|
||||
AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED_DOTS)
|
||||
AC_SUBST(MAC_OS_X_VERSION_MAX_ALLOWED)
|
||||
AC_SUBST(INSTALL_NAME_TOOL)
|
||||
AC_SUBST(LIBTOOL) # Note that the OS X libtool command is unrelated to GNU libtool
|
||||
|
2
external/curl/ExternalProject_curl.mk
vendored
2
external/curl/ExternalProject_curl.mk
vendored
@@ -58,6 +58,8 @@ $(call gb_ExternalProject_get_state_target,curl,build):
|
||||
$(if $(ENABLE_DEBUG),--enable-debug) \
|
||||
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
|
||||
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
|
||||
$(if $(filter MACOSX,$(OS)),CFLAGS='$(CFLAGS) \
|
||||
-mmacosx-version-min=$(MAC_OS_X_VERSION_MIN_REQUIRED_DOTS)') \
|
||||
CPPFLAGS='$(curl_CPPFLAGS)' \
|
||||
LDFLAGS='$(curl_LDFLAGS)' \
|
||||
ZLIB_CFLAGS='$(ZLIB_CFLAGS)' ZLIB_LIBS='$(ZLIB_LIBS)' \
|
||||
|
Reference in New Issue
Block a user