summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch
blob: c11f5c53c998dfbf0cd706808b988db9cd8d3473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
tools/CMakeLists.txt: replace the hardcode "lib"

replace the hardcode "lib" with LIB_INSTALL_DIR
this will work with non /usr/lib libdir case

Upstream-Status: Pending

Signed-off-by: Yu Ke <ke.yu@intel.com>

Index: libzypp/tools/CMakeLists.txt
===================================================================
--- libzypp.orig/tools/CMakeLists.txt
+++ libzypp/tools/CMakeLists.txt
@@ -1,7 +1,7 @@
 
 ADD_SUBDIRECTORY( package-manager )
 
-INSTALL( FILES notify-message DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/zypp" )
+INSTALL( FILES notify-message DESTINATION "${LIB_INSTALL_DIR}/zypp" )
 
 ## ############################################################