summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf/0002-Prefix-sysroot-path-to-introspection-tools-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf/0002-Prefix-sysroot-path-to-introspection-tools-path.patch')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0002-Prefix-sysroot-path-to-introspection-tools-path.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/0002-Prefix-sysroot-path-to-introspection-tools-path.patch b/meta/recipes-devtools/libdnf/libdnf/0002-Prefix-sysroot-path-to-introspection-tools-path.patch
deleted file mode 100644
index 7eecc3d051..0000000000
--- a/meta/recipes-devtools/libdnf/libdnf/0002-Prefix-sysroot-path-to-introspection-tools-path.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From c8211ad99ccaa4af4a75e0ba639527267fcfd69e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:17:19 +0200
4Subject: [PATCH 2/4] Prefix sysroot path to introspection tools path.
5
6Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 libdnf/CMakeLists.txt | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/libdnf/CMakeLists.txt b/libdnf/CMakeLists.txt
13index 63f07bf..837792b 100644
14--- a/libdnf/CMakeLists.txt
15+++ b/libdnf/CMakeLists.txt
16@@ -133,7 +133,7 @@ if (GOBJECT_INTROSPECTION_FOUND)
17 set(GIR_TYPELIB "${GIR_PREFIX}.typelib")
18
19 add_custom_command(OUTPUT ${GIR_XML}
20- COMMAND env CFLAGS=${CMAKE_C_FLAGS} ${GOBJECT_INTROSPECTION_1.0_G_IR_SCANNER}
21+ COMMAND env CFLAGS=${CMAKE_C_FLAGS} $ENV{PKG_CONFIG_SYSROOT_DIR}${GOBJECT_INTROSPECTION_1.0_G_IR_SCANNER}
22 --namespace=Dnf
23 --nsversion=${DNF_SO_VERSION}.0
24 --library-path=${CMAKE_CURRENT_BINARY_DIR}
25@@ -153,7 +153,7 @@ if (GOBJECT_INTROSPECTION_FOUND)
26 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
27
28 add_custom_command(OUTPUT ${GIR_TYPELIB}
29- COMMAND ${GOBJECT_INTROSPECTION_1.0_G_IR_COMPILER}
30+ COMMAND $ENV{PKG_CONFIG_SYSROOT_DIR}${GOBJECT_INTROSPECTION_1.0_G_IR_COMPILER}
31 -o ${GIR_TYPELIB}
32 ${GIR_XML}
33 DEPENDS ${GIR_XML}
34--
352.11.0
36