summaryrefslogtreecommitdiff
path: root/packaging/0022-Enable-loading-directly-ni-file-for-corerun-temporar.patch
blob: 077650bbbaaad8a34eafd9852887b46e4bbdcd14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 327402c5c08bdbb3903735b20b76fe1d73819eb9 Mon Sep 17 00:00:00 2001
From: Yongseop Kim <yons.kim@samsung.com>
Date: Tue, 5 Sep 2017 18:03:34 +0900
Subject: [PATCH 22/23] Enable loading directly ni file for corerun temporarily

---
 src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp b/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
index f97f262..a1db5c1 100644
--- a/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
+++ b/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
@@ -314,6 +314,7 @@ int ExecuteManagedAssembly(
     GetDirectory(managedAssemblyAbsolutePath, appPath);
 
     std::string tpaList;
+    /*
     if (strlen(managedAssemblyAbsolutePath) > 0)
     {
         // Target assembly should be added to the tpa list. Otherwise corerun.exe
@@ -322,6 +323,7 @@ int ExecuteManagedAssembly(
         tpaList = managedAssemblyAbsolutePath;
         tpaList.append(":");
     }
+    */
 
     // Construct native search directory paths
     std::string nativeDllSearchDirs(appPath);
-- 
1.9.1