ldns: update patch for acx_ntnetlabs.m4

This commit is contained in:
Yaksh Bariya 2022-02-26 11:46:15 +05:30
parent 1013469ca5
commit 48db1f8aa8
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
--- ./acx_nlnetlabs.m4.orig 2022-02-17 16:25:59.657638853 +0530
+++ ./acx_nlnetlabs.m4 2022-02-17 16:44:08.107638438 +0530
@@ -650,7 +650,7 @@
--- ./acx_nlnetlabs.m4.orig 2021-12-03 13:15:47.000000000 +0530
+++ ./acx_nlnetlabs.m4 2022-02-26 11:45:09.003626697 +0530
@@ -652,7 +652,7 @@
fi
for dir in $withval; do
ssldir="$dir"
@ -9,14 +9,14 @@
found_ssl="yes"
AC_DEFINE_UNQUOTED([HAVE_SSL], [], [Define if you have the SSL libraries installed.])
dnl assume /usr/include is already in the include-path.
@@ -668,8 +668,8 @@
HAVE_SSL=yes
dnl assume /usr is already in the lib and dynlib paths.
if test "$ssldir" != "/usr" -a "$ssldir" != ""; then
- LDFLAGS="$LDFLAGS -L$ssldir/lib"
- LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib"
+ LDFLAGS="$LDFLAGS -L$ssldir/lib/openssl-1.1"
+ LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib/openssl-1.1"
ACX_RUNTIME_PATH_ADD([$ssldir/lib])
@@ -675,8 +675,8 @@
LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib64"
ACX_RUNTIME_PATH_ADD([$ssldir/lib64])
else
- LDFLAGS="$LDFLAGS -L$ssldir/lib"
- LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib"
+ LDFLAGS="$LDFLAGS -L$ssldir/lib/openssl-1.1"
+ LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib/openssl-1.1"
ACX_RUNTIME_PATH_ADD([$ssldir/lib])
fi
fi