diff options
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp')
-rw-r--r-- | meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch b/meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch new file mode 100644 index 0000000000..c11f5c53c9 --- /dev/null +++ b/meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | tools/CMakeLists.txt: replace the hardcode "lib" | ||
2 | |||
3 | replace the hardcode "lib" with LIB_INSTALL_DIR | ||
4 | this will work with non /usr/lib libdir case | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
9 | |||
10 | Index: libzypp/tools/CMakeLists.txt | ||
11 | =================================================================== | ||
12 | --- libzypp.orig/tools/CMakeLists.txt | ||
13 | +++ libzypp/tools/CMakeLists.txt | ||
14 | @@ -1,7 +1,7 @@ | ||
15 | |||
16 | ADD_SUBDIRECTORY( package-manager ) | ||
17 | |||
18 | -INSTALL( FILES notify-message DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/zypp" ) | ||
19 | +INSTALL( FILES notify-message DESTINATION "${LIB_INSTALL_DIR}/zypp" ) | ||
20 | |||
21 | ## ############################################################ | ||
22 | |||