Remove .dll suffix from DllImports
This commit is contained in:
parent
3672e94be5
commit
9743aaef11
@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<dllmap dll="SDL2.dll" os="windows" target="SDL2.dll"/>
|
<dllmap dll="SDL2" os="windows" target="SDL2.dll"/>
|
||||||
<dllmap dll="SDL2.dll" os="osx" target="libSDL2-2.0.0.dylib"/>
|
<dllmap dll="SDL2" os="osx" target="libSDL2-2.0.0.dylib"/>
|
||||||
<dllmap dll="SDL2.dll" os="linux" target="libSDL2-2.0.so.0"/>
|
<dllmap dll="SDL2" os="linux" target="libSDL2-2.0.so.0"/>
|
||||||
|
|
||||||
<dllmap dll="SDL2_image.dll" os="windows" target="SDL2_image.dll"/>
|
<dllmap dll="SDL2_image" os="windows" target="SDL2_image.dll"/>
|
||||||
<dllmap dll="SDL2_image.dll" os="osx" target="libSDL2_image-2.0.0.dylib"/>
|
<dllmap dll="SDL2_image" os="osx" target="libSDL2_image-2.0.0.dylib"/>
|
||||||
<dllmap dll="SDL2_image.dll" os="linux" target="libSDL2_image-2.0.so.0"/>
|
<dllmap dll="SDL2_image" os="linux" target="libSDL2_image-2.0.so.0"/>
|
||||||
|
|
||||||
<dllmap dll="SDL2_mixer.dll" os="windows" target="SDL2_mixer.dll"/>
|
<dllmap dll="SDL2_mixer" os="windows" target="SDL2_mixer.dll"/>
|
||||||
<dllmap dll="SDL2_mixer.dll" os="osx" target="libSDL2_mixer-2.0.0.dylib"/>
|
<dllmap dll="SDL2_mixer" os="osx" target="libSDL2_mixer-2.0.0.dylib"/>
|
||||||
<dllmap dll="SDL2_mixer.dll" os="linux" target="libSDL2_mixer-2.0.so.0"/>
|
<dllmap dll="SDL2_mixer" os="linux" target="libSDL2_mixer-2.0.so.0"/>
|
||||||
|
|
||||||
<dllmap dll="SDL2_ttf.dll" os="windows" target="SDL2_ttf.dll"/>
|
<dllmap dll="SDL2_ttf" os="windows" target="SDL2_ttf.dll"/>
|
||||||
<dllmap dll="SDL2_ttf.dll" os="osx" target="libSDL2_ttf-2.0.0.dylib"/>
|
<dllmap dll="SDL2_ttf" os="osx" target="libSDL2_ttf-2.0.0.dylib"/>
|
||||||
<dllmap dll="SDL2_ttf.dll" os="linux" target="libSDL2_ttf-2.0.so.0"/>
|
<dllmap dll="SDL2_ttf" os="linux" target="libSDL2_ttf-2.0.so.0"/>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -37,7 +37,7 @@ namespace SDL2
|
|||||||
{
|
{
|
||||||
#region SDL2# Variables
|
#region SDL2# Variables
|
||||||
|
|
||||||
private const string nativeLibName = "SDL2.dll";
|
private const string nativeLibName = "SDL2";
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ namespace SDL2
|
|||||||
#region SDL2# Variables
|
#region SDL2# Variables
|
||||||
|
|
||||||
/* Used by DllImport to load the native library. */
|
/* Used by DllImport to load the native library. */
|
||||||
private const string nativeLibName = "SDL2_image.dll";
|
private const string nativeLibName = "SDL2_image";
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ namespace SDL2
|
|||||||
#region SDL2# Variables
|
#region SDL2# Variables
|
||||||
|
|
||||||
/* Used by DllImport to load the native library. */
|
/* Used by DllImport to load the native library. */
|
||||||
private const string nativeLibName = "SDL2_mixer.dll";
|
private const string nativeLibName = "SDL2_mixer";
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ namespace SDL2
|
|||||||
#region SDL2# Variables
|
#region SDL2# Variables
|
||||||
|
|
||||||
/* Used by DllImport to load the native library. */
|
/* Used by DllImport to load the native library. */
|
||||||
private const string nativeLibName = "SDL2_ttf.dll";
|
private const string nativeLibName = "SDL2_ttf";
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user