Skip to content

Commit

Permalink
chore: Adjust linux dlopen
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Sep 11, 2024
1 parent 4af7d95 commit 5365467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resizetizer/src/SkiaSharpTools.Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static IntPtr ImportResolver(string libraryName, Assembly assembly, DllImportSea
public static extern IntPtr LoadLibrary(string dllToLoad);

// declare a dllimport for dlopen
[DllImport("libdl.so", EntryPoint = "dlopen")]
[DllImport("libdl.so.2", EntryPoint = "dlopen")]
public static extern IntPtr dlopen_linux(string fileName, int flags);

// declare dllimport for dlopen on macos
Expand Down

0 comments on commit 5365467

Please sign in to comment.