summaryrefslogtreecommitdiff
path: root/src/mem/ruby/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/SConscript')
-rw-r--r--src/mem/ruby/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/SConscript b/src/mem/ruby/SConscript
index 5ad6bd08f..4c52d8688 100644
--- a/src/mem/ruby/SConscript
+++ b/src/mem/ruby/SConscript
@@ -37,6 +37,9 @@ import SCons
Import('*')
+if not env['RUBY']:
+ Return()
+
Source('init.cc')
def do_embed_text(target, source, env):