meson: Create bindir and libdir variables

This is to avoid using the construct 'join_paths(prefix, get_option(...))'
everywhere in the meson files. It's better to settle the paths question
once and for all at the beginning.

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-09 10:37:42 +07:00 committed by Arun Raghavan
parent 1e86d616f5
commit ea92c28218
3 changed files with 7 additions and 5 deletions

View file

@ -82,6 +82,6 @@ if cc.has_header('sys/soundcard.h')
output : 'padsp',
configuration : cdata,
install : true,
install_dir : join_paths(prefix, get_option('bindir')),
install_dir : bindir,
)
endif