summaryrefslogtreecommitdiffstats
path: root/external/meta-sdl/recipes-automotive/sdl-core/sdl-core/0007-Add-standard-usr-lib-path-to-rpath.patch
blob: 38de64a6443255d4ad3c1e2cdd8e4cd92eb1f8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From e25165f41748b2f05b2a28f4a64682ac71801c33 Mon Sep 17 00:00:00 2001
From: Phong Tran <tranmanphong@gmail.com>
Date: Thu, 21 Dec 2017 23:49:53 +0700
Subject: [PATCH 07/10] Add standard /usr/lib path to rpath

Signed-off-by: Phong Tran <tranmanphong@gmail.com>

%% original patch: 0007-Add-standard-usr-lib-path-to-rpath.patch
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55cd32e..e207923 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -383,6 +383,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "QNX")
 endif()
 
 SET(RPATH_DIRECTORIES
+  ${CMAKE_INSTALL_LIBDIR}
   ${CMAKE_INSTALL_PREFIX}/bin/plugins
   /usr/local/lib
   /usr/local
-- 
2.7.4