diff options
Diffstat (limited to 'enc')
-rw-r--r-- | enc/depend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/depend b/enc/depend index a059196f1c..014fc4f584 100644 --- a/enc/depend +++ b/enc/depend @@ -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 |