Skip to content

Commit

Permalink
Build openssh on Mac OS not using libutil
Browse files Browse the repository at this point in the history
Many functions called by libutil on macOS are deprecated, and we have a fallback, which is using the utmpx functions.
  • Loading branch information
AreaZR committed Dec 19, 2023
1 parent 8241b9c commit d9ec734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/configs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ case "$host" in
*-darwin*)
# Unless specified otherwise, build without OpenSSL on Mac OS since
# modern versions don't ship with libcrypto.
LIBCRYPTOFLAGS="--without-openssl"
# Disable libutil as that has been deprecated on Mac OS
LIBCRYPTOFLAGS="--without-openssl --disable-libutil"
TEST_TARGET=t-exec
case "$host" in
*-darwin22.*)
Expand Down

0 comments on commit d9ec734

Please sign in to comment.