mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 18:27:18 +00:00
20 lines
520 B
Meson
20 lines
520 B
Meson
lz4_dep = dependency('liblz4', required: false)
|
|
if lz4_dep.found() and get_option('use_sys_lz4')
|
|
message('Using system-provided lz4 library')
|
|
else
|
|
message('Using smallz4')
|
|
smallz4_files = [
|
|
'smallz4cat.c',
|
|
]
|
|
smallz4_inc = [include_directories('.')]
|
|
|
|
libr2smallz4 = static_library('r2smallz4', smallz4_files,
|
|
include_directories: smallz4_inc,
|
|
implicit_include_directories: false
|
|
)
|
|
lz4_dep = declare_dependency(
|
|
link_with: libr2smallz4,
|
|
include_directories: smallz4_inc
|
|
)
|
|
endif
|