mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Makefile.in: remove broken symlinks
* Makefile.in ($(LIBRUBY_SO)): always try to remove symlink targets for broken symlinks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
634779e62f
commit
1dfb5bb7fc
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ $(LIBRUBY_SO):
|
|||
$(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(DTRACE_OBJ) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@
|
||||
-$(Q) $(OBJCOPY) -w -L '$(SYMBOL_PREFIX)Init_*' -L '$(SYMBOL_PREFIX)*_threadptr_*' $@
|
||||
$(Q) $(POSTLINK)
|
||||
@-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \
|
||||
@-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link rescue nil; \
|
||||
File.symlink "$(LIBRUBY_SO)", link}' \
|
||||
$(LIBRUBY_ALIASES) || true
|
||||
$(arch)-fake.rb: config.status $(srcdir)/template/fake.rb.in
|
||||
|
|
Loading…
Add table
Reference in a new issue