]> git.pld-linux.org Git - packages/libsoup3.git/blame - libsoup3-path-override.patch
- updated to 2.99.3 from pre-3 as libsoup3 (parallel-installable with libsoup 2.x)
[packages/libsoup3.git] / libsoup3-path-override.patch
CommitLineData
56e68050
JB
1--- libsoup-2.99.3/meson.build.orig 2021-04-08 21:34:56.261188700 +0200
2+++ libsoup-2.99.3/meson.build 2021-04-11 15:13:46.597820547 +0200
3@@ -329,11 +329,18 @@ endif
4d3f1f19
JB
4 ################
5 # NTLM not supported on Windows
6 if host_machine.system() != 'windows'
7- ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
8+ ntlm_auth_path = get_option('ntlm_auth')
9+ if ntlm_auth_path[0] == '/'
10+ ntlm_auth_found = true
11+ else
12+ ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
13+ ntlm_auth_found = ntlm_auth.found()
14+ ntlm_auth_path = ntlm_auth.path()
15+ endif
16
17- if ntlm_auth.found()
18+ if ntlm_auth_found
19 add_project_arguments('-DUSE_NTLM_AUTH=1', language : 'c')
20- add_project_arguments('-DNTLM_AUTH="' + ntlm_auth.path() + '"', language : 'c')
21+ add_project_arguments('-DNTLM_AUTH="' + ntlm_auth_path + '"', language : 'c')
22 endif
23 endif
24
56e68050
JB
25@@ -392,7 +399,7 @@ summary({
26
27 summary({
28 'GSSAPI' : enable_gssapi,
29- 'NTLM' : ntlm_auth.found(),
30+ 'NTLM' : ntlm_auth_found,
31 'Brotli' : brotlidec_dep.found(),
32 'Translations' : xgettext.found(),
33 'GIR' : enable_introspection,
This page took 0.089361 seconds and 4 git commands to generate.