diff options
author | Yu Ke <ke.yu@intel.com> | 2011-07-13 16:58:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-13 12:14:20 +0100 |
commit | d3e62282055c71eeeeb96b31be1059b638fc2ac9 (patch) | |
tree | 27d6b88ca95ac81930a1a1f4a73047da567f012c /meta/recipes-extended/libzypp/libzypp | |
parent | 4e01f730bf1840d43ae7f95bbf51d85d7d030493 (diff) | |
download | ast2050-yocto-poky-d3e62282055c71eeeeb96b31be1059b638fc2ac9.zip ast2050-yocto-poky-d3e62282055c71eeeeb96b31be1059b638fc2ac9.tar.gz |
libzypp: fix for non /usr/lib libdir case
this patch has two fixes:
1. the src tool/CMakeLists.txt has hardcode "lib", so add a patch to fix it
2. the recipe has hardcode "-DLIB=lib", so replace it with libdir
(From OE-Core rev: d415c10f8488e0cc4b175ad3d985748d07bbedaa)
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 0000000..c11f5c5 --- /dev/null +++ b/meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch @@ -0,0 +1,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" ) + + ## ############################################################ + |