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
47
|
https://github.com/libproxy/libproxy/issues/343
https://github.com/libproxy/libproxy/commit/ca277f4b7f8f066483d5b2f8706cfd2de5830162
From ca277f4b7f8f066483d5b2f8706cfd2de5830162 Mon Sep 17 00:00:00 2001
From: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
Date: Mon, 15 Dec 2025 11:41:06 +0100
Subject: [PATCH] Make use of meson library
Use meson library instead of defining shared and static library on their
own.
Fixes: https://github.com/libproxy/libproxy/issues/343
---
src/libproxy/meson.build | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/libproxy/meson.build b/src/libproxy/meson.build
index ff8d80e8..b508c33e 100644
--- a/src/libproxy/meson.build
+++ b/src/libproxy/meson.build
@@ -32,7 +32,7 @@ elif build_machine.system() == 'sunos'
endif
endif
-libproxy = shared_library(
+libproxy = library(
'proxy',
libproxy_sources,
include_directories: px_backend_inc,
@@ -45,17 +45,6 @@ libproxy = shared_library(
install_rpath: pkglibdir,
)
-libproxy_static = static_library(
- 'proxy',
- libproxy_sources,
- include_directories: px_backend_inc,
- dependencies: libproxy_deps,
- link_args : vflag,
- link_depends : mapfile,
- install: true,
- install_rpath: pkglibdir,
-)
-
libproxy_dep = declare_dependency (
include_directories: libproxy_inc,
link_with: libproxy,
|