summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-02 19:06:52 +0200
committerDavid Robillard <d@drobilla.net>2020-04-02 19:06:52 +0200
commit4ad9fa89c873c232e48fe5b6ce40ca0fe2cac4a7 (patch)
treebd8ee1fcb9ec69a0612cc8a5edacd838ec07c0a1
parent697d367fc93bffe5bdf542e5ae8f8919d83fefd0 (diff)
downloadautowaf-4ad9fa89c873c232e48fe5b6ce40ca0fe2cac4a7.tar.gz
autowaf-4ad9fa89c873c232e48fe5b6ce40ca0fe2cac4a7.tar.bz2
autowaf-4ad9fa89c873c232e48fe5b6ce40ca0fe2cac4a7.zip
Fix building subprojects in their own directories
-rwxr-xr-xwaf2
1 files changed, 1 insertions, 1 deletions
diff --git a/waf b/waf
index 887215c..58d14c3 100755
--- a/waf
+++ b/waf
@@ -19,7 +19,7 @@ except Exception as e:
def main():
script_path = os.path.abspath(inspect.getfile(inspect.getmodule(main)))
- project_path = os.path.dirname(script_path)
+ project_path = os.path.dirname(os.path.realpath(script_path))
Scripting.waf_entry_point(os.getcwd(), Context.WAFVERSION, project_path)