From c5494b7991005f05d38c73df9f3038e00cced9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrew=20Lee=20=28=E6=9D=8E=E5=81=A5=E7=A7=8B=29?= Date: Sat, 15 Aug 2015 20:13:52 +0800 Subject: [PATCH] private-lib.patch: install .so file to private lib path. --- debian/patches/private-lib.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/private-lib.patch create mode 100644 debian/patches/series diff --git a/debian/patches/private-lib.patch b/debian/patches/private-lib.patch new file mode 100644 index 0000000..3ac4ea2 --- /dev/null +++ b/debian/patches/private-lib.patch @@ -0,0 +1,13 @@ +Description: Install private .so file into proper directory. +Author: Andrew Lee (李健秋) +--- lxqt-config-0.9.0+20150806.orig/liblxqt-config-cursor/CMakeLists.txt ++++ lxqt-config-0.9.0+20150806/liblxqt-config-cursor/CMakeLists.txt +@@ -80,7 +80,7 @@ target_link_libraries(lxqt-config-cursor + + install(TARGETS + lxqt-config-cursor +- DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}" + COMPONENT Runtime + ) + install(FILES diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b266763 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +private-lib.patch