mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 10:29:40 +01:00
(From OE-Core rev: 35c163f6ebdc41eb6b65fca05706854b1aac20b5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
989 B
Diff
28 lines
989 B
Diff
From c139a6c929cff93dbb9b8279e97263fc9e055727 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Tue, 7 Feb 2017 12:16:03 +0200
|
|
Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
|
|
|
|
using both)
|
|
|
|
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index cd91f08..6422534 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -46,7 +46,7 @@ endif(APPLE)
|
|
PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.46.0 REQUIRED)
|
|
pkg_check_modules(SMARTCOLS REQUIRED smartcols)
|
|
FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb)
|
|
-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
|
|
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext)
|
|
set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
|
|
if (ENABLE_RHSM_SUPPORT)
|
|
pkg_check_modules (RHSM REQUIRED librhsm>=0.0.3)
|