mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
Remove upstreamed 0001-include-missing-string-and-errno.h-headers.patch Rebase the other patches. (From OE-Core rev: b0c76d9b451ba10b97e9ecee7bbfc7158cab4152) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
862 B
Diff
29 lines
862 B
Diff
From 18c2c06017784cd641cc8a3deee5fc472008f7f4 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Fri, 30 Dec 2016 18:24:50 +0200
|
|
Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
|
|
|
|
doesn't work properly).
|
|
|
|
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
|
|
---
|
|
CMakeLists.txt | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 16b63308..b722d4fb 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -45,7 +45,8 @@ endif()
|
|
|
|
# build dependencies
|
|
find_package(Gpgme REQUIRED)
|
|
-find_package(LibSolv 0.6.30 REQUIRED COMPONENTS ext)
|
|
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
|
|
+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
|
|
find_package(OpenSSL REQUIRED)
|
|
|
|
|