File: 0001-debian-set-library-SONAME.patch

package info (click to toggle)
lzfse 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 392 kB
  • sloc: ansic: 3,383; makefile: 36
file content (20 lines) | stat: -rw-r--r-- 569 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
From: Tobias Heider <me@tobhe.de>
Date: Sat, 14 Oct 2023 16:21:08 +0200
Subject: debian: set library SONAME

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 336a68d..bf57670 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,6 +66,7 @@ add_library(lzfse
   src/lzvn_decode_base.c
   src/lzvn_encode_base.c)
 lzfse_add_compiler_flags(lzfse -Wall -Wno-unknown-pragmas -Wno-unused-variable)
+set_target_properties(lzfse PROPERTIES VERSION 1.0 SOVERSION 1)
 
 add_executable(lzfse_cli
   src/lzfse_main.c)