diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-07-04 09:15:00 +1000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-22 20:26:16 +0200 |
commit | 6b550ae91f166a5c5161ab23c500760a9a155909 (patch) | |
tree | 50a3a690dde0bf60318855c76c70b0493b94a188 /docs/markdown/Compiler-properties.md | |
parent | c572d222daf141656f6fe8119f1bd5bfc5fbe63e (diff) | |
download | meson-6b550ae91f166a5c5161ab23c500760a9a155909.zip meson-6b550ae91f166a5c5161ab23c500760a9a155909.tar.gz meson-6b550ae91f166a5c5161ab23c500760a9a155909.tar.bz2 |
Allow for missing install_dir in install_data()
The documentation doesn't require it and the interpreter code works around the
possibility of it being None. The ninja backend code however fails with
File "/home/whot/code/meson/mesonbuild/backend/ninjabackend.py", line 796, in generate_data_install
dstabs = os.path.join(subdir or None, plain_f)
File "/usr/lib64/python3.6/posixpath.py", line 78, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
If install_dir is missing, default to datadir/projectname
Diffstat (limited to 'docs/markdown/Compiler-properties.md')
0 files changed, 0 insertions, 0 deletions