We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b203ff commit 2b7e616Copy full SHA for 2b7e616
cpp/src/arrow/meson.build
@@ -223,7 +223,16 @@ endif
223
224
if needs_bz2
225
arrow_util_srcs += ['util/compression_bz2.cc']
226
- arrow_util_deps += dependency('bzip2')
+ bzip2 = cpp_compiler.find_library(
227
+ 'bz2',
228
+ has_headers: ['bzlib.h'],
229
+ required: false,
230
+ )
231
+ if bzip2.found()
232
+ arrow_util_deps += bzip2
233
+ else
234
+ arrow_util_deps += dependency('bzip2')
235
+ endif
236
endif
237
238
if needs_lz4
@@ -233,7 +242,7 @@ endif
242
243
if needs_snappy
244
arrow_util_srcs += ['util/compression_snappy.cc']
- arrow_util_deps += dependency('snappy')
245
+ arrow_util_deps += dependency('snappy', 'Snappy')
246
247
239
248
if needs_zlib
0 commit comments