Removed
Link Here
|
1 |
--- meson.build.orig 2024-04-10 11:23:05 UTC |
2 |
+++ meson.build |
3 |
@@ -144,7 +144,7 @@ lib_bz2 = cc.find_library('bz2') |
4 |
lib_bz2 = cc.find_library('bz2') |
5 |
|
6 |
# Find optional lz4 library |
7 |
-lib_lz4 = dependency('liblz4', required: false) |
8 |
+lib_lz4 = dependency('liblz4', required: get_option('liblz4')) |
9 |
|
10 |
if lib_lz4.found() |
11 |
configuration.set('HAVE_LIBLZ4', true, description: 'Is liblz4 present?') |
12 |
@@ -168,14 +168,14 @@ configuration.set('ZLIB_CONST', true, description: 'Re |
13 |
configuration.set('ZLIB_CONST', true, description: 'Require zlib const input buffer') |
14 |
|
15 |
# Find optional libssh2 library |
16 |
-lib_ssh2 = dependency('libssh2', required: false) |
17 |
+lib_ssh2 = dependency('libssh2', required: get_option('libssh2')) |
18 |
|
19 |
if lib_ssh2.found() |
20 |
configuration.set('HAVE_LIBSSH2', true, description: 'Is libssh2 present?') |
21 |
endif |
22 |
|
23 |
# Find optional zstd library |
24 |
-lib_zstd = dependency('libzstd', version: '>=1.0', required: false) |
25 |
+lib_zstd = dependency('libzstd', version: '>=1.0', required: get_option('libzstd')) |
26 |
|
27 |
if lib_zstd.found() |
28 |
configuration.set('HAVE_LIBZST', true, description: 'Is libzstd present?') |