aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2024-11-11 14:46:19 -0700
committerMelody Horn <melody@boringcactus.com>2024-11-11 14:46:19 -0700
commitfbbcf325b8bbe72f924da6a7cdb128d973ef0026 (patch)
tree783dc988b77c95fd739b30a436a496b7c0c550c2 /src/makefile/mod.rs
parent5aa6e1122830611dccc2eab9b7f4a53a10056111 (diff)
downloadmakers-fbbcf325b8bbe72f924da6a7cdb128d973ef0026.tar.gz
makers-fbbcf325b8bbe72f924da6a7cdb128d973ef0026.zip
fix conditional assignment when original is inherited
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r--src/makefile/mod.rs2
1 files changed, 1 insertions, 1 deletions
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()