File: build-plugins-as-static-libraries-only.patch

package info (click to toggle)
lcms2 2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,632 kB
  • sloc: ansic: 46,202; sh: 4,263; pascal: 1,960; makefile: 197; cpp: 84
file content (46 lines) | stat: -rw-r--r-- 1,351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Build plugin libraries only as static libraries
 The plugins do not have a proper SONAME, so we cannot include them as shared
 libraries. We build them as static-only libraries to make it clear that this
 is intentional.
Author: Thomas Weber <tweber@debian.org>
Bug-Debian: https://bugs.debian.org/1055502
Origin: Debian
Forwarded: not-needed
Last-Update: 2023-12-31
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/plugins/fast_float/src/meson.build
+++ b/plugins/fast_float/src/meson.build
@@ -31,14 +31,13 @@
   endif
 endif
 
-liblcms2_fast_float = library(
+liblcms2_fast_float = static_library(
   'lcms2_fast_float',
   lcms2_fast_float_sources,
   gnu_symbol_visibility: 'hidden',
   dependencies: [liblcms2_dep, m_dep],
   include_directories: lcms2_fast_float_incdir,
   c_args: cargs,
-  version: library_version,
   install: true,
 )
 
--- a/plugins/threaded/src/meson.build
+++ b/plugins/threaded/src/meson.build
@@ -17,13 +17,12 @@
   liblcms2_threaded_sources += win.compile_resources(lcms2_threaded_rc)
 endif
 
-liblcms2_threaded = library(
+liblcms2_threaded = static_library(
   'lcms2_threaded',
   liblcms2_threaded_sources,
   include_directories: lcms2_threaded_incdir,
   dependencies: [ liblcms2_dep, threads_dep ],
   c_args: cargs,
-  version: library_version,
   install: true,
 )