[PATCH 6/7] support spaces in include path

8 views
Skip to first unread message

Lars Munch

unread,
Jan 2, 2014, 4:46:07 PM1/2/14
to ctyp...@googlegroups.com, Lars Munch
---
ctypesgencore/parser/preprocessor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ctypesgencore/parser/preprocessor.py b/ctypesgencore/parser/preprocessor.py
index 14a7a2f..afe24a4 100644
--- a/ctypesgencore/parser/preprocessor.py
+++ b/ctypesgencore/parser/preprocessor.py
@@ -137,7 +137,7 @@ class PreprocessorParser(object):
cmd += " -U __BLOCKS__"

for path in self.options.include_search_paths:
- cmd += " -I%s" % path
+ cmd += ' -I"%s"' % path
for define in self.defines:
cmd += ' "-D%s"' % define
cmd += ' "' + filename + '"'
--
1.8.5.2

Reply all
Reply to author
Forward
0 new messages