diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2022-10-25 06:47:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 06:47:31 (GMT) |
commit | 214bfb325bd4db112b73859912b919aa35e12d61 (patch) | |
tree | b5c04cd31e42772751dac47bc6a0780b581b871d /contrib/meson/meson/programs/meson.build | |
parent | e312412c60140b3d061526499cef22e5e99d7751 (diff) | |
parent | 198e532300f253ada3acac3ab5428ed991adb085 (diff) | |
download | lz4-214bfb325bd4db112b73859912b919aa35e12d61.zip lz4-214bfb325bd4db112b73859912b919aa35e12d61.tar.gz lz4-214bfb325bd4db112b73859912b919aa35e12d61.tar.bz2 |
Merge pull request #1139 from tristan957/meson
Update Meson build to 1.9.4
Diffstat (limited to 'contrib/meson/meson/programs/meson.build')
-rw-r--r-- | contrib/meson/meson/programs/meson.build | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/meson/meson/programs/meson.build b/contrib/meson/meson/programs/meson.build index f9d5bf1..a8bc18a 100644 --- a/contrib/meson/meson/programs/meson.build +++ b/contrib/meson/meson/programs/meson.build @@ -26,6 +26,36 @@ lz4 = executable( install: true ) +lz4cat = custom_target( + 'lz4cat', + input: lz4, + output: 'lz4cat', + command: [ + 'ln', + '--symbolic', + '--force', + fs.name(lz4.full_path()), + '@OUTPUT@' + ] +) + +unlz4 = custom_target( + 'unlz4', + input: lz4, + output: 'unlz4', + command: [ + 'ln', + '--symbolic', + '--force', + fs.name(lz4.full_path()), + '@OUTPUT@' + ] +) + +meson.override_find_program('lz4', lz4) + +run_env.prepend('PATH', meson.current_build_dir()) + install_man(lz4_source_root / 'programs/lz4.1') if meson.version().version_compare('>=0.61.0') |