summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rwxr-xr-xext/extmk.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 278c087491..b73b8b6907 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -588,7 +588,7 @@ unless gems.empty?
"#{$1}$(TARGET_GEM_DIR)$(target_prefix)"
}
end
- conf << %{
+ conf.any? {|s| /^TARGET *= *\S/ =~ s} and conf << %{
# default target
all:
@@ -600,6 +600,7 @@ $(build_complete): $(TARGET_SO)
$(Q) $(TOUCH) $@
}
+ conf
end
end
end