Fixed EngineInstalled

This commit is contained in:
crazytuzi committed 2024-06-01 15:21:06 +08:00
1 parent d7305649a0
commit 93e5f54d1a
1 file changed
+2 -1
+2 -1
View File
@@ -56,7 +56,8 @@ public class Mono : ModuleRules
PublicSystemLibraries.Add("msvcrtd.lib");
}
RuntimeDependencies.Add("$(TargetOutputDir)/coreclr.dll",
RuntimeDependencies.Add(
Target.bIsEngineInstalled ? "$(BinaryOutputDir)/coreclr.dll" : "$(TargetOutputDir)/coreclr.dll",
Path.Combine(PlatformLibraryPath, "coreclr.dll"));
var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net"));