diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-12-21 08:40:32 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-12-21 10:10:06 +0100 |
commit | 9ca6e7b9411e36488ef539a2c1f6846ac92a7072 (patch) | |
tree | 59de3f7366350bc31ac00b6bf2d3f808fa61ded7 /contrib | |
parent | 9aa374dcfb760746cd9ebe248dc68979c18849a5 (diff) | |
download | postgresql-9ca6e7b9411e36488ef539a2c1f6846ac92a7072.tar.gz postgresql-9ca6e7b9411e36488ef539a2c1f6846ac92a7072.zip |
meson: Make gzip and tar optional
They are only used for some tests. The tests are already set to skip
as appropriate if they are not available.
Discussion: https://www.postgresql.org/message-id/flat/ZQzp_VMJcerM1Cs_%40paquier.xyz
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/basebackup_to_shell/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/basebackup_to_shell/meson.build b/contrib/basebackup_to_shell/meson.build index a5488c30239..331ee1c9be2 100644 --- a/contrib/basebackup_to_shell/meson.build +++ b/contrib/basebackup_to_shell/meson.build @@ -24,7 +24,7 @@ tests += { 'tests': [ 't/001_basic.pl', ], - 'env': {'GZIP_PROGRAM': gzip.path(), - 'TAR': tar.path()}, + 'env': {'GZIP_PROGRAM': gzip.found() ? gzip.path() : '', + 'TAR': tar.found() ? tar.path() : '' }, }, } |