From 4ad9fa89c873c232e48fe5b6ce40ca0fe2cac4a7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Apr 2020 19:06:52 +0200 Subject: Fix building subprojects in their own directories --- waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1