1From 45e1c4c04a126d2386446775f99084bd603016af Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 1 Jun 2017 23:10:59 -0700
4Subject: [PATCH] drop including rpath cmake module
5
6Fixes cross compilation QA errors e.g.
7/usr/lib/libkonkret.so.0.0.1 contains probably-redundant RPATH /usr/lib [useless-rpaths]
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/konkret/CMakeLists.txt | 1 -
12 src/program/CMakeLists.txt | 1 -
13 2 files changed, 2 deletions(-)
14
15diff --git a/src/konkret/CMakeLists.txt b/src/konkret/CMakeLists.txt
16index c2faa40..df49e11 100644
17--- a/src/konkret/CMakeLists.txt
18+++ b/src/konkret/CMakeLists.txt
19@@ -8,7 +8,6 @@ set(konkret_SRCS
20     kstr.c
21     print.c
22 )
23-include(rpath)
24 include_directories(${CMPI_INCLUDE_DIR})
25
26 add_library(libkonkret SHARED ${konkret_SRCS})
27diff --git a/src/program/CMakeLists.txt b/src/program/CMakeLists.txt
28index afcefe5..8a4646c 100644
29--- a/src/program/CMakeLists.txt
30+++ b/src/program/CMakeLists.txt
31@@ -1,4 +1,3 @@
32-include (rpath)
33 include_directories(${CMPI_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/src)
34
35 add_executable(konkret main.cpp)
36--
372.13.0
38
39