ports/net/icecast/patches/patch-configure

22 lines
667 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure
--- configure.orig
+++ configure
@@ -14634,7 +14634,7 @@ fi
if test "x$openssl_prefix" != "x" -a "x$openssl_prefix" != "xyes"; then
- OPENSSL_LIBS="-L$openssl_prefix/lib -lssl"
+ OPENSSL_LIBS="-L$openssl_prefix/lib -lssl -lcrypto"
OPENSSL_CFLAGS="-I$openssl_prefix/include"
else
# Extract the first word of "pkg-config", so it can be a program name with args.
@@ -14687,7 +14687,7 @@ fi
else
openssl_prefix="$prefix"
fi
- OPENSSL_LIBS="-L$openssl_prefix/lib -lssl"
+ OPENSSL_LIBS="-L$openssl_prefix/lib -lssl -lcrypto"
OPENSSL_CFLAGS="-I$openssl_prefix/include"
fi
fi