1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

extmk.rb: no ext, no build_complete

* ext/extmk.rb (create_makefile): touch gem.build_complete only if
  building an extension library.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-09-04 05:27:48 +00:00
parent 2dad8eae44
commit 9a13630140

View file

@ -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