private static void CopyNativeLibs(CompilerSettings compilerSettings) { string targetPath = compilerSettings.CodeGenerationTarget == CodeGenerationTarget.Dotnet ? CompilerSettings.DotNetNativesPath : CompilerSettings.JavaNativesPath; IOHelper.CopyDirItems(targetPath, CompilerSettings.CurrentDirectory); }