remove SharedObject special handling in Environment#get_build_fname - close #96

This commit is contained in:
josh committed 2019-04-14 12:41:12 -04:00
1 parent ea2b1e73d1
commit c23426c5aa
3 files changed
+18 -1

No files matched your search

+3 -1
View File
@@ -245,7 +245,9 @@ module Rscons
# @return [String]
# The file name to be built from +source_fname+ with suffix +suffix+.
def get_build_fname(source_fname, suffix, builder_class)
extra_path = builder_class == Builders::SharedObject ? "/_shared" : ""
if extra_path = builder_class.extra_path
extra_path = "/#{extra_path}"
end
"#{@build_root}#{extra_path}/#{Util.make_relative_path(Rscons.set_suffix(source_fname, suffix))}".gsub("\\", "/")
end