Skip to content

Commit

Permalink
meson: fix breakage when used as a subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Jan 26, 2020
1 parent 8ec2342 commit 4f30e88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ elif compression == 'zstd'
input: 'zstd/contrib/single_file_decoder/zstddeclib-in.c',
output: 'zstddeclib.h',
command: [
join_paths(meson.source_root(), 'zstd/contrib/single_file_decoder/combine.sh'),
join_paths(meson.current_source_dir(), 'zstd/contrib/single_file_decoder/combine.sh'),
'-r',
join_paths(meson.source_root(), 'zstd/lib'),
join_paths(meson.current_source_dir(), 'zstd/lib'),
'-r',
join_paths(meson.source_root(), 'zstd/lib/common'),
join_paths(meson.current_source_dir(), 'zstd/lib/common'),
'-r',
join_paths(meson.source_root(), 'zstd/lib/decompress'),
join_paths(meson.current_source_dir(), 'zstd/lib/decompress'),
'-o',
'@OUTPUT@',
'@INPUT@'
Expand Down

0 comments on commit 4f30e88

Please sign in to comment.