Fix hfa_interop to omit ".dll" from DLLName
authorRichard L Ford <richford@microsoft.com>
Fri, 12 Feb 2016 23:19:34 +0000 (15:19 -0800)
committerRichard L Ford <richford@microsoft.com>
Fri, 12 Feb 2016 23:19:34 +0000 (15:19 -0800)
For interoperability cross platform, the DLL name given to the
DllImport attribute should not include the suffix since
dynamic link libraries use a different suffix on different
systems.

tests/src/JIT/jit64/hfa/main/dll/hfa_interop.cs

index 233b9f0..401f8eb 100644 (file)
@@ -26,7 +26,7 @@ namespace HFATest
         public const string floatType = "f32";
 #endif
 
-        public const string DllName = "hfa" + "_" + hfaType + "_" + floatType + "_" + dllType + ".dll";
+        public const string DllName = "hfa" + "_" + hfaType + "_" + floatType + "_" + dllType;
     }