File: 2004-install-static-lib.patch

package info (click to toggle)
libssh 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,800 kB
  • sloc: ansic: 124,267; cpp: 421; xml: 226; sh: 187; makefile: 25; python: 9
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Install the static library again
Author: Laurent Bigonville <bigon@debian.org>
Forwarded: not-needed
Last-Update: 2024-09-02

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -432,6 +432,13 @@ if (BUILD_STATIC_LIB)
     if (WITH_COVERAGE)
         append_coverage_compiler_flags_to_target(ssh-static)
     endif (WITH_COVERAGE)
+
+  install(TARGETS
+            ssh-static
+          DESTINATION
+            ${LIB_INSTALL_DIR}/${OUTPUT_SUFFIX}
+          COMPONENT
+            libraries)
 endif (BUILD_STATIC_LIB)
 
 message(STATUS "Threads_FOUND=${Threads_FOUND}")