mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[meson] compilation fix when neither openssl nor gnutls were enabled
This commit is contained in:
parent
766d0d655c
commit
2dc85a2060
@ -131,7 +131,13 @@ else
|
||||
conf_data.set('CONFIG_OS_UNIX', false)
|
||||
endif
|
||||
|
||||
conf_data.set('CONFIG_SSL', true)
|
||||
|
||||
if conf_data.get('CONFIG_GNUTLS') or conf_data.get('CONFIG_OPENSSL')
|
||||
conf_data.set('CONFIG_SSL', true)
|
||||
else
|
||||
conf_data.set('CONFIG_SSL', false)
|
||||
endif
|
||||
|
||||
conf_data.set('CONFIG_OS_OS2', false)
|
||||
conf_data.set('CONFIG_OS_RISCOS', false)
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
t = executable('match-hostname-test', 'match-hostname-test.c', meson.current_source_dir() + '/../match-hostname.c', testdeps, c_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..', '../../..', '../../../..'])
|
||||
t = executable('match-hostname-test', 'match-hostname-test.c', meson.source_root()+'/src/network/ssl/match-hostname.c', testdeps, c_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..', '../../..', '../../../..'])
|
||||
test('match-hostname-test', t)
|
||||
|
Loading…
Reference in New Issue
Block a user