aboutsummaryrefslogtreecommitdiff
path: root/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-09-17 19:21:26 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-09-17 19:21:26 +0300
commit067935ce76c03099abe83998c7c0cb80f64b92f1 (patch)
tree8d017af4252c97daa64207768e01644d49b02674 /compilers.py
parent384365c843ed3d3ef82ed0a9dcaf1a987134a82f (diff)
downloadmeson-067935ce76c03099abe83998c7c0cb80f64b92f1.zip
meson-067935ce76c03099abe83998c7c0cb80f64b92f1.tar.gz
meson-067935ce76c03099abe83998c7c0cb80f64b92f1.tar.bz2
Added conf option for build tree layout.
Diffstat (limited to 'compilers.py')
-rw-r--r--compilers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilers.py b/compilers.py
index 92437e1..407770f 100644
--- a/compilers.py
+++ b/compilers.py
@@ -199,6 +199,8 @@ class CCompiler():
return []
def get_include_args(self, path):
+ if path == '':
+ path = '.'
return ['-I' + path]
def get_std_shared_lib_link_args(self):