Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
dropping dll suffix to match SharpFont 4.x changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Aug 30, 2017
1 parent d1ebd95 commit 0d2f252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Compat/Compat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ public delegate int diagnostics_Function(string message, string opcode,
int range_base, int is_composite,
int IP, int callTop, int opc, int start);

[DllImport("freetype6.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("freetype6", CallingConvention = CallingConvention.Cdecl)]
public static extern void TT_Diagnostics_Set([MarshalAs(UnmanagedType.FunctionPtr)] diagnostics_Function diagnostics);

[DllImport("freetype6.dll", CallingConvention = CallingConvention.Cdecl)]
[DllImport("freetype6", CallingConvention = CallingConvention.Cdecl)]
public static extern void TT_Diagnostics_Unset();

private RasterInterf ()
Expand Down
2 changes: 1 addition & 1 deletion bin/Compat.dll.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<dllmap dll="freetype6.dll">
<dllmap dll="freetype6">
<dllentry os="linux" dll="libfreetype.so.6" />
<dllentry os="osx" dll="libfreetype.6.dylib" />
</dllmap>
Expand Down

0 comments on commit 0d2f252

Please sign in to comment.