summaryrefslogtreecommitdiffhomepage
path: root/patches/tdnf-2.1.1_pre.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-30 21:40:06 +0100
committerConan_Kudo <ngompa13@gmail.com>2020-05-30 22:06:40 +0000
commitd2fca9ff082c3b1a8a22d068f024537af03aefc9 (patch)
tree451ff0d548346147cd78b072090f6600d1b38c43 /patches/tdnf-2.1.1_pre.local.patch
parent62c6b4ae822db79c3dd1e5f1079a4d2977675976 (diff)
downloadmidipix_build-d2fca9ff082c3b1a8a22d068f024537af03aefc9.tar.bz2
midipix_build-d2fca9ff082c3b1a8a22d068f024537af03aefc9.tar.xz
patches/tdnf-2.1.1_pre.local.patch: fix libtdnfcli library dependencies.
vars/tdnf.vars:pkg_tdnf_configure(): export ${PKG_CONFIG{,_LIBDIR}} during execution. vars/tdnf.vars:pkg_tdnf_configure(): define ${OPENSSL_LIBRARY} as ${PKG_PREFIX}/lib/libcrypto.so. Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> Signed-off-by: Neal Gompa <ngompa13@gmail.com>
Diffstat (limited to 'patches/tdnf-2.1.1_pre.local.patch')
-rw-r--r--patches/tdnf-2.1.1_pre.local.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/tdnf-2.1.1_pre.local.patch b/patches/tdnf-2.1.1_pre.local.patch
index 52459566..15189a8e 100644
--- a/patches/tdnf-2.1.1_pre.local.patch
+++ b/patches/tdnf-2.1.1_pre.local.patch
@@ -26,3 +26,25 @@ index 25ee54e..b126bb0 100644
--
2.26.1
+--- tdnf-2.1.1/tools/cli/lib/CMakeLists.txt.orig 2020-05-29 18:28:42.000000000 +0100
++++ tdnf-2.1.1/tools/cli/lib/CMakeLists.txt 2020-05-30 21:15:15.525966612 +0100
+@@ -6,6 +6,8 @@
+ # of the License are located in the COPYING file of this distribution.
+ #
+
++include_directories(${CMAKE_SOURCE_DIR}/include)
++
+ # configure pkgconfig file
+ configure_file(
+ tdnfcli.pc.in
+@@ -26,6 +28,10 @@
+ updateinfocmd.c
+ )
+
++target_link_libraries(${LIB_TDNF_CLI}
++ ${LIB_TDNF}
++ ${LIB_TDNF_COMMON}
++)
+
+ set_target_properties(${LIB_TDNF_CLI} PROPERTIES
+ VERSION ${PROJECT_VERSION}