From d3d10490ead62e18e82a5b89099db5286380b0ea Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Mon, 14 Dec 2015 09:56:03 +0000 Subject: [PATCH] Fix bug in ``Makefile`` generation when emitting the command to build the ".NET" bindings when in debug mode. ``;`` is a shell command separator so it needs to be quoted when emitting ``/define:DEBUG;TRACE``. --- scripts/mk_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mk_util.py b/scripts/mk_util.py index a21663326..4cb2971da 100644 --- a/scripts/mk_util.py +++ b/scripts/mk_util.py @@ -1535,7 +1535,7 @@ class DotNetDLLComponent(Component): ] ) if DEBUG_MODE: - cscCmdLine.extend( ['/define:DEBUG;TRACE', + cscCmdLine.extend( ['"/define:DEBUG;TRACE"', # Needs to be quoted due to ``;`` being a shell command separator '/debug+', '/debug:full', '/optimize-'