From fbbcf325b8bbe72f924da6a7cdb128d973ef0026 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 11 Nov 2024 14:46:19 -0700 Subject: fix conditional assignment when original is inherited --- src/makefile/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/makefile/mod.rs') diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs index ddfac6f..9b2f626 100644 --- a/src/makefile/mod.rs +++ b/src/makefile/mod.rs @@ -194,7 +194,7 @@ impl<'a> Makefile<'a> { let follow_gnu = cfg!(feature = "full"); - let vpath_options = match self.macros.get("VPATH") { + let vpath_options = match self.macros.get_non_recursive("VPATH") { Some(Macro { text, .. }) if follow_gnu => { let vpath = self.expand_macros(text, None)?; env::split_paths(&vpath).collect() -- cgit v1.2.3