Skip to content

Commit

Permalink
fix issues with lzma dependency file
Browse files Browse the repository at this point in the history
  • Loading branch information
p01arst0rm committed Apr 23, 2021
1 parent 7e747a5 commit dd4fa5d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dependencies/lzma/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@ check_lzma_mt = cpp.has_function(
'lzma_stream_encoder_mt',
dependencies : liblzma_dep)

if (check_lzma_mt)
has_lzma_mt = 1
else
has_lzma_mt = 0
endif
has_lzma_mt = boolean.to_int(check_lzma_mt)

config_h.set(
'HAVE_LZMA', 1,
description : 'Define if the lzma library is available.')

config_h.set(
'HAVE_LZMA_MT', has_lzma_mt,
description : 'Define if the Boost library is available.')
description : 'Define if lzma_stream_encoder_mt is available.')

0 comments on commit dd4fa5d

Please sign in to comment.