Skip to content

Commit

Permalink
try enabling gssapi for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 18, 2023
1 parent fbf5efb commit 9fdde52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions curl-autotools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,9 @@ _VER="$1"
LDFLAGS="${LDFLAGS} -L${_TOP}/gsasl/${_PP}/lib"
else
options="${options} --without-libgsasl"
if [ "${_OS}" = 'mac' ]; then
if [ "${_OS}" = 'mac' ] && [ "${_OSVER}" -lt '1009' ]; then
# GSS API deprecated in 2012-2013 (OS X 10.8 Mountain Lion / 10.9 Mavericks, iOS 7.0)
# options="${options} --with-gssapi"
:
options="${options} --with-gssapi"
fi
fi

Expand Down
5 changes: 2 additions & 3 deletions curl-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,9 @@ _VER="$1"
CPPFLAGS="${CPPFLAGS} -I${_TOP}/gsasl/${_PP}/include"
LDFLAGS="${LDFLAGS} -L${_TOP}/gsasl/${_PP}/lib"
LIBS="${LIBS} -lgsasl"
elif [ "${_OS}" = 'mac' ]; then
elif [ "${_OS}" = 'mac' ] && [ "${_OSVER}" -lt '1009' ]; then
# GSS API deprecated in 2012-2013 (OS X 10.8 Mountain Lion / 10.9 Mavericks, iOS 7.0)
# options="${options} -DCURL_USE_GSSAPI=ON"
:
options="${options} -DCURL_USE_GSSAPI=ON"
fi
if [ -d ../libidn2 ]; then
options="${options} -DUSE_LIBIDN2=ON"
Expand Down

0 comments on commit 9fdde52

Please sign in to comment.