]>
Commit | Line | Data |
---|---|---|
4d3f1f19 JB |
1 | --- libsoup-2.68.0/meson.build.orig 2019-09-11 11:08:25.000000000 +0200 |
2 | +++ libsoup-2.68.0/meson.build 2019-09-11 17:30:07.856616832 +0200 | |
3 | @@ -311,11 +311,18 @@ | |
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 |