Use OBJSUFFIX of .obj for ldc2 on Windows.
This commit is contained in:
1 parent
eb54a2b64a
commit
044ee343ca
2 files changed
+13
-9
No files matched your search
@@ -481,6 +481,10 @@ module Rscons
|
||||
"LDCMD" => env["LDCMD"].map {|e| if e == "-o"; "-of"; else; e; end},
|
||||
"DDEPGEN" => ["-deps=${_DEPFILE}"],
|
||||
}
|
||||
if RUBY_PLATFORM =~ /mingw/
|
||||
# ldc2 on Windows expect an object file suffix of .obj.
|
||||
merge["OBJSUFFIX"] = %w[.obj]
|
||||
end
|
||||
end
|
||||
_, _, status = log_and_test_command(command)
|
||||
if status == 0
|
||||
|
||||
Reference in new issue
Block a user