Skip to content

Commit

Permalink
try re-enabling SSPI on Windows 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Mar 6, 2024
1 parent e9b2d9e commit 09142b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions curl-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ _VER="$1"
[[ "${_CONFIG}" != *'imap'* ]] && options+=' -DCURL_DISABLE_IMAP=ON'
if [ "${_OS}" != 'win' ]; then
options+=' -DCURL_DISABLE_BINDLOCAL=ON'
options+=' -DCURL_WINDOWS_SSPI=OFF'
fi
options+=' -DENABLE_UNIX_SOCKETS=OFF'
options+=' -DENABLE_WEBSOCKETS=OFF'
Expand All @@ -124,6 +125,7 @@ _VER="$1"
options+=' -DENABLE_WEBSOCKETS=ON'
if [ "${_OS}" = 'win' ]; then
LIBS+=' -lwldap32'
options+=' -DCURL_WINDOWS_SSPI=ON'
elif [ "${_OS}" != 'mac' ] || [ "${_OSVER}" -ge '1010' ]; then # On macOS we use the built-in LDAP lib
options+=' -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LDAPS=ON'
fi
Expand Down

0 comments on commit 09142b0

Please sign in to comment.