mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
ecc69edf68
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
22 lines
659 B
Diff
22 lines
659 B
Diff
Index: gq-1.2.3/configure
|
|
===================================================================
|
|
--- gq-1.2.3.orig/configure
|
|
+++ gq-1.2.3/configure
|
|
@@ -6167,7 +6167,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" =
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lssl $LIBS"
|
|
+LIBS="`pkg-config --libs openssl` $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -6223,7 +6223,7 @@ fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
|
|
if test $ac_cv_lib_ssl_SSL_new = yes; then
|
|
- LIBS="-lssl $LIBS"
|
|
+ LIBS="`pkg-config --libs openssl` $LIBS"
|
|
|
|
fi
|
|
|