Minor fix for meson build

Use files function instead of constructing path with meson.current_source_dir()
This commit is contained in:
Lzu Tao
2018-12-01 23:18:59 +07:00
parent 386c9ab58a
commit f727808731
4 changed files with 10 additions and 6 deletions
-3
View File
@@ -61,8 +61,6 @@ executable('zstd-frugal',
# Program symlinks
# =============================================================================
CreateSymlink_py = join_paths(meson.current_source_dir(), '..', 'CreateSymlink.py')
foreach f : [ 'zstdcat', 'unzstd' ]
custom_target(f,
output : f,
@@ -89,7 +87,6 @@ endif
zstd_man1_dir = join_paths(zstd_mandir, 'man1')
zstd_1_file = join_paths(programs_dir, 'zstd.1')
CopyFile_py = join_paths(meson.current_source_dir(), '..', 'CopyFile.py')
custom_target('zstd.1',
output : 'zstd.1',