ports/net/icecast/patches/patch-configure

21 lines
667 B
Text

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