Skip to content

Commit

Permalink
ngtcp2.sh: try fixing openssl lib order
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 6, 2024
1 parent 65d04e2 commit 9b9ebcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngtcp2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _VER="$1"
options+=' -DENABLE_OPENSSL=OFF'
options+=' -DENABLE_BORINGSSL=ON'
options+=" -DBORINGSSL_INCLUDE_DIR=${_TOP}/${_OPENSSL}/${_PP}/include"
options+=" -DBORINGSSL_LIBRARIES=${_TOP}/${_OPENSSL}/${_PP}/lib/libcrypto.a;${_TOP}/${_OPENSSL}/${_PP}/lib/libssl.a;-lpthread"; [ "${_OS}" = 'win' ] && options="${options};-lws2_32"
options+=" -DBORINGSSL_LIBRARIES=${_TOP}/${_OPENSSL}/${_PP}/lib/libssl.a;${_TOP}/${_OPENSSL}/${_PP}/lib/libcrypto.a;-lpthread"; [ "${_OS}" = 'win' ] && options="${options};-lws2_32"
CPPFLAGS+=' -DNOCRYPT'
elif [ "${_OPENSSL}" = 'quictls' ] || [ "${_OPENSSL}" = 'libressl' ]; then
options+=' -DENABLE_OPENSSL=ON'
Expand Down

0 comments on commit 9b9ebcd

Please sign in to comment.