Skip to content

Commit

Permalink
curl.sh: update RANDOM_FILE code after upstream merge [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Aug 30, 2024
1 parent 1d4e404 commit 1576580
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions curl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,9 @@ _VER="$1"
# guarantee that the build machine's `/dev/urandom` is present at runtime.
# For macOS builds its likely there, but also unnecessary.
# Disable it for all Linux and macOS builds.
if [ "${CURL_VER_}" != '8.9.1' ] && \
[ "${CURL_VER_}" != '8.10.0' ]; then
if [ "${CURL_VER_}" != '8.9.1' ]; then
if [ "${_OS}" = 'linux' ] || [ "${_OS}" = 'mac' ]; then
options+=' -DRANDOM_FILE=OFF' # Pending https://github.com/curl/curl/pull/14743
options+=' -DRANDOM_FILE=OFF'
fi
fi
Expand Down

0 comments on commit 1576580

Please sign in to comment.