We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31e3f5f commit 34eaa6bCopy full SHA for 34eaa6b
1 file changed
src/Xamarin.Android.Build.Tasks/Tasks/CompileNativeAssembly.cs
@@ -44,7 +44,7 @@ public override System.Threading.Tasks.Task RunTaskAsync ()
44
45
void RunAssembler (Config config)
46
{
47
- if (config.OutputFile is not null && File.Exists (config.OutputFile)) {
+ if (config.OutputFile is not null && config.InputSource is not null && File.Exists (config.OutputFile)) {
48
string sourceFile = Path.Combine (WorkingDirectory, Path.GetFileName (config.InputSource));
49
if (File.Exists (sourceFile) && File.GetLastWriteTimeUtc (config.OutputFile) >= File.GetLastWriteTimeUtc (sourceFile)) {
50
LogDebugMessage ($"[LLVM llc] Skipping '{Path.GetFileName (config.InputSource)}' because '{Path.GetFileName (config.OutputFile)}' is up to date");
0 commit comments