Desktop versions of the native p/invoke don't need an extension

This commit is contained in:
Matthew Leibowitz 2017-09-23 22:45:56 +02:00
Родитель dbd09b0ffe
Коммит 619588dcc4
4 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -74,7 +74,7 @@ namespace SkiaSharp
#elif __MACOS__
private const string SKIA = "libSkiaSharp.dylib";
#elif DESKTOP
private const string SKIA = "libSkiaSharp.dll"; // redirected using .dll.config to 'libSkiaSharp.dylib' on OS X
private const string SKIA = "libSkiaSharp";
#elif WINDOWS_UWP
private const string SKIA = "libSkiaSharp.dll";
#elif NET_STANDARD

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<dllmap dll="libHarfBuzzSharp.dll" target="libHarfBuzzSharp.dylib" os="osx" />
<dllmap dll="libHarfBuzzSharp.dll" target="libHarfBuzzSharp.so" os="!windows,osx" />
<!-- <dllmap dll="libHarfBuzzSharp.dll" target="libHarfBuzzSharp.dylib" os="osx" /> -->
<!-- <dllmap dll="libHarfBuzzSharp.dll" target="libHarfBuzzSharp.so" os="!windows,osx" /> -->
</configuration>

Просмотреть файл

@ -26,7 +26,7 @@ namespace HarfBuzzSharp
#elif __MACOS__
private const string HARFBUZZ = "libHarfBuzzSharp.dylib";
#elif DESKTOP
private const string HARFBUZZ = "libHarfBuzzSharp.dll"; // redirected using .dll.config to 'libHarfBuzzSharp.dylib' on OS X
private const string HARFBUZZ = "libHarfBuzzSharp";
#elif WINDOWS_UWP
private const string HARFBUZZ = "libHarfBuzzSharp.dll";
#elif NET_STANDARD

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<dllmap dll="libSkiaSharp.dll" target="libSkiaSharp.dylib" os="osx" />
<dllmap dll="libSkiaSharp.dll" target="libSkiaSharp.so" os="!windows,osx" />
<!-- <dllmap dll="libSkiaSharp.dll" target="libSkiaSharp.dylib" os="osx" /> -->
<!-- <dllmap dll="libSkiaSharp.dll" target="libSkiaSharp.so" os="!windows,osx" /> -->
</configuration>