aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-04-09 21:57:46 +0300
committerGitHub <noreply@github.com>2017-04-09 21:57:46 +0300
commit1652dccea2c1c4729f74ae66c7af5e3decf3dc5b (patch)
tree70e8aec9bcc1037ea406ab422c196cbbd792aaba /mesonbuild/interpreter.py
parent0e8eba7f644571ea0beb40334d2a3d0b150ac4ef (diff)
parentaa3480dabaaf8fe164ae9fa5115cc092277245f5 (diff)
downloadmeson-1652dccea2c1c4729f74ae66c7af5e3decf3dc5b.zip
meson-1652dccea2c1c4729f74ae66c7af5e3decf3dc5b.tar.gz
meson-1652dccea2c1c4729f74ae66c7af5e3decf3dc5b.tar.bz2
Merge pull request #1469 from centricular/install-secondary-outputs
Support multiple install dirs for built/custom targets
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 8c8000c..2f8e5f6 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2243,7 +2243,7 @@ class Interpreter(InterpreterBase):
if 'install_mode' not in kwargs:
return None
install_mode = []
- mode = mesonlib.stringintlistify(kwargs.get('install_mode', []))
+ mode = mesonlib.typeslistify(kwargs.get('install_mode', []), (str, int))
for m in mode:
# We skip any arguments that are set to `false`
if m is False: