diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-12-29 08:40:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-31 08:22:12 +0700 |
commit | e8e323bd5ac350e95761d09a7125ed036fc97085 (patch) | |
tree | 0c16cc82305efa1a11785b4046e5dba72a433d44 /libraries/tlsh/install-libraries.patch | |
parent | 6e6ba4276354fbbf0f44a27707a8eaa7be4f25d5 (diff) |
libraries/tlsh: Added (fuzzy matching library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tlsh/install-libraries.patch')
-rw-r--r-- | libraries/tlsh/install-libraries.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libraries/tlsh/install-libraries.patch b/libraries/tlsh/install-libraries.patch new file mode 100644 index 0000000000000..83f9c6cae5333 --- /dev/null +++ b/libraries/tlsh/install-libraries.patch @@ -0,0 +1,23 @@ +From fb71fc45992a9adf73b3c8194bdd691391ca34d7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org> +Date: Wed, 27 Jan 2016 17:44:06 +0100 +Subject: [PATCH] install the library in expected directories + +We add CMake install directives in order to see the library files installed in +the expected multiarch compatible locations. +--- + src/CMakeLists.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index b1c92fb..c8d3fd9 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -21,3 +21,7 @@ set_target_properties(tlsh_shared PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SO + set_target_properties(tlsh_shared PROPERTIES OUTPUT_NAME tlsh${BUILD_POSTFIX}) + set_target_properties(tlsh_shared PROPERTIES VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" + SOVERSION "0") ++ ++include(GNUInstallDirs) ++install(TARGETS tlsh_shared DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES ../include/tlsh.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |