Skip to content

Commit

Permalink
depend: fix for static library on mswin
Browse files Browse the repository at this point in the history
* enc/depend (ARFLAGS, RANLIB): these values can be nil.  [Bug ruby#7950]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Feb 25, 2013
1 parent 72aee03 commit be26224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enc/depend
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
% rule_subst = CONFIG["RULE_SUBST"] || "%s"
% transvpath = rule_subst.dup.sub!(/\{[^{}]+\}/, '$(TRANSVPATH)/') || "enc/trans/%s"
% transvpath_prefix = (rule_subst.dup.sub!(/\{[^{}]+\}/, '{$(TRANSVPATH)}') || "%s") % ""
% CONFIG['ARFLAGS'] = 'rcu ' if CONFIG['ARFLAGS'].empty?
% CONFIG['RANLIB'] = ':' if CONFIG['RANLIB'].empty?
% CONFIG['ARFLAGS'] = 'rcu ' if (CONFIG['ARFLAGS'] || "").empty?
% CONFIG['RANLIB'] = ':' if (CONFIG['RANLIB'] || "").empty?
% if File::ALT_SEPARATOR
% pathrep = proc {|path| path.gsub('/', File::ALT_SEPARATOR).gsub(/\$\(([@<?*]\w?|\w+)\)/, "$(\\1:/=\\#{File::ALT_SEPARATOR})")}
% else
Expand Down

0 comments on commit be26224

Please sign in to comment.