Skip to content

Commit

Permalink
Use OPENSSL_SUPPRESS_DEPRECATED if compiled with OpenSSL to shut up
Browse files Browse the repository at this point in the history
stupid warnings.
  • Loading branch information
cjeker committed Nov 28, 2024
1 parent 1641948 commit 7a7430e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ AC_ARG_WITH([openssl],
)
if test X"$PKG_NAME" != X; then
OPENSSL_CFLAGS=`pkg-config --cflags-only-I $PKG_NAME 2>/dev/null`
OPENSSL_CFLAGS="$OPENSSL_CFLAGS -DOPENSSL_SUPPRESS_DEPRECATED"
OPENSSL_LDFLAGS=`pkg-config --libs-only-L $PKG_NAME 2>/dev/null`
fi

Expand Down

0 comments on commit 7a7430e

Please sign in to comment.