зеркало из https://github.com/github/ruby.git
extmk.rb: fix gem.build_complete location
* ext/extmk.rb (timestamp_file): make build_complete file at the toplevel of the gem directory without target_prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fb2011f7f0
Коммит
2dad8eae44
|
@ -584,7 +584,8 @@ unless gems.empty?
|
|||
super(*args) do |conf|
|
||||
conf.find do |s|
|
||||
s.sub!(/^(TARGET_SO_DIR *= *)\$\(RUBYARCHDIR\)/) {
|
||||
"#{$1}$(extout)/gems/$(arch)/#{@gemname}$(target_prefix)"
|
||||
"TARGET_GEM_DIR = $(extout)/gems/$(arch)/#{@gemname}\n"\
|
||||
"#{$1}$(TARGET_GEM_DIR)$(target_prefix)"
|
||||
}
|
||||
end
|
||||
conf << %{
|
||||
|
@ -592,7 +593,7 @@ unless gems.empty?
|
|||
# default target
|
||||
all:
|
||||
|
||||
build_complete = $(TARGET_SO_DIR)gem.build_complete
|
||||
build_complete = $(TARGET_GEM_DIR)/gem.build_complete
|
||||
install-so: build_complete
|
||||
build_complete: $(build_complete)
|
||||
$(build_complete): $(TARGET_SO)
|
||||
|
|
Загрузка…
Ссылка в новой задаче