File: 2004-install-static-lib.patch

package info (click to toggle)
libssh 0.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,460 kB
  • sloc: ansic: 100,303; cpp: 421; sh: 186; makefile: 25; javascript: 20; python: 9
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
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}")