aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-11 22:19:05 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-11 22:19:05 +0200
commit7cd9749127051fd6039f0e7ffaf68ce976b09411 (patch)
tree51915305dcc2fc51abcf5a83248fb580a67a4045 /environment.py
parented8fd95505c25b3893db255c83ec7b711b897e36 (diff)
downloadmeson-7cd9749127051fd6039f0e7ffaf68ce976b09411.zip
meson-7cd9749127051fd6039f0e7ffaf68ce976b09411.tar.gz
meson-7cd9749127051fd6039f0e7ffaf68ce976b09411.tar.bz2
Java compiles and links.
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/environment.py b/environment.py
index b3cbcaf..bbee90b 100644
--- a/environment.py
+++ b/environment.py
@@ -437,6 +437,8 @@ class JavaCompiler():
return []
def get_output_flags(self, subdir):
+ if subdir == '':
+ subdir = './'
return ['-d', subdir, '-s', subdir]
def get_linker_output_flags(self, outputname):