Desktop versions of the native p/invoke don't need an extension
This commit is contained in:
Родитель
dbd09b0ffe
Коммит
619588dcc4
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче