diff options
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r-- | src/makefile/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs index cdf9d0b..ac6090e 100644 --- a/src/makefile/mod.rs +++ b/src/makefile/mod.rs @@ -110,7 +110,11 @@ impl<'a> Makefile<'a> { pub fn extend(&mut self, new: FinishedMakefileReader) -> Result<()> { self.inference_rules.extend(new.inference_rules); - self.macros.extend(new.macros, new.macro_exports); + self.macros.extend( + new.macros, + #[cfg(feature = "full")] + new.macro_exports, + ); self.targets.borrow_mut().extend( new.targets .into_iter() |