remove String#set_suffix monkey patch

This commit is contained in:
josh committed 2014-02-14 10:36:15 -05:00
1 parent 2ffb5d525a
commit 98f8f38715
4 files changed
+9 -13

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ module Rscons
vars = vars.merge({
'_TARGET' => target,
'_SOURCES' => sources,
'_DEPFILE' => target.set_suffix('.mf'),
'_DEPFILE' => Rscons.set_suffix(target, '.mf'),
})
com_prefix = KNOWN_SUFFIXES.find do |compiler, suffix_var|
sources.first.end_with?(*env[suffix_var])