diff options
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r-- | src/makefile/mod.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs index c6a8c0a..d1e9729 100644 --- a/src/makefile/mod.rs +++ b/src/makefile/mod.rs @@ -16,11 +16,13 @@ use target::{DynamicTargetSet, Target}; use token::TokenString; use crate::args::Args; +#[cfg(feature = "full")] use crate::makefile::functions::NO_EVAL; mod command_line; #[cfg(feature = "full")] mod conditional; +#[cfg(feature = "full")] mod eval_context; #[cfg(feature = "full")] mod functions; @@ -412,9 +414,11 @@ impl<'a> Makefile<'a> { Ok(macro_pieces.join(" ")) }; - self.macros - .with_lookup(&lookup_internal) - .expand(text, NO_EVAL) + self.macros.with_lookup(&lookup_internal).expand( + text, + #[cfg(feature = "full")] + NO_EVAL, + ) } } |