summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 278c0874912..b73b8b6907c 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