aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorYoav Alon <yoaval@checkpoint.com>2015-11-28 01:40:54 +0200
committerYoav Alon <yoaval@checkpoint.com>2015-11-28 21:26:56 +0200
commita4809cf63291b3fa2eeb48a82094ca75d9a64113 (patch)
tree335c0f23d6a961fd4b04940ca9c7666b70c87b13 /meson.py
parent33301dec0e068d0bfdc579aff2b40d2018402b4c (diff)
downloadmeson-a4809cf63291b3fa2eeb48a82094ca75d9a64113.zip
meson-a4809cf63291b3fa2eeb48a82094ca75d9a64113.tar.gz
meson-a4809cf63291b3fa2eeb48a82094ca75d9a64113.tar.bz2
Added support for extended command line to overcome OS command line length limitation
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.py b/meson.py
index f051abd..e7428dd 100755
--- a/meson.py
+++ b/meson.py
@@ -174,6 +174,9 @@ def run(args):
handshake = True
else:
handshake = False
+ args = mesonlib.expand_arguments(args)
+ if not args:
+ return 1
options = parser.parse_args(args[1:])
if options.print_version:
print(coredata.version)