blob: 44c2c768b2b7e9f8e5638eb05be1dfcb6399a84f [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 0a24f03a67425a7b58b3fd40d965c0c9801ae7a1 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 27 Aug 2018 16:10:55 +0800
4Subject: [PATCH] libjpeg-turbo: fix package_qa error
5
6Fix package qa errors like below:
7libjpeg.so.62.3.0 contains probably-redundant RPATH /usr/lib [useless-rpaths]
8usr/bin/cjpeg contains probably-redundant RPATH /usr/lib
9
10Upstream-Status: Inappropriate[oe-specific]
11
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13---
14 CMakeLists.txt | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
18index 1719522..682cef1 100644
19--- a/CMakeLists.txt
20+++ b/CMakeLists.txt
21@@ -109,8 +109,6 @@ endif()
22
23 include(cmakescripts/GNUInstallDirs.cmake)
24
25-set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
26-
27 macro(report_directory var)
28 if(CMAKE_INSTALL_${var} STREQUAL CMAKE_INSTALL_FULL_${var})
29 message(STATUS "CMAKE_INSTALL_${var} = ${CMAKE_INSTALL_${var}}")
30--
312.7.4
32