mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
rdfind: Fix AC_CHECK_LIB for libnettle
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
From 823a4deb61f6f9b91b0cfc4a7e7b20922c635777 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Thu, 1 Sep 2022 13:13:50 -0700
|
||||||
|
Subject: [PATCH] configure: Fix check for AC_CHECK_LIB
|
||||||
|
|
||||||
|
Check for nettle_pbkdf2_hmac_sha256 from libnettle instead of main()
|
||||||
|
which is not in nettle library
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/pauldreik/rdfind/pull/115]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
configure.ac | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index be1b2fd..157a7d7 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -46,7 +46,7 @@ AC_CHECK_HEADER(nettle/sha.h,,[AC_MSG_ERROR([
|
||||||
|
On Debian-ish systems, use "apt-get install nettle-dev" to get a system
|
||||||
|
wide nettle install.
|
||||||
|
])])
|
||||||
|
-AC_CHECK_LIB(nettle,main,,[AC_MSG_ERROR([
|
||||||
|
+AC_CHECK_LIB(nettle,nettle_pbkdf2_hmac_sha256,,[AC_MSG_ERROR([
|
||||||
|
Could not link to libnettle. Please install nettle
|
||||||
|
first. If you have already done so; please run ldconfig
|
||||||
|
as root or check whether the path libnettle was installed
|
||||||
|
--
|
||||||
|
2.37.3
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa22e16ebbe6638b2bd253338fbded9f"
|
|||||||
DEPENDS = "nettle autoconf-archive"
|
DEPENDS = "nettle autoconf-archive"
|
||||||
|
|
||||||
SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \
|
SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \
|
||||||
|
file://0001-configure-Fix-check-for-AC_CHECK_LIB.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7"
|
SRC_URI[md5sum] = "180418c863b861d1df221bc486a07ce7"
|
||||||
|
|||||||
Reference in New Issue
Block a user