From 8308801dd52e84a6769b688019193b3d02fdab09 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Sun, 27 Oct 2024 11:31:59 +0100 Subject: [PATCH] [WiP] Add support for Mac Catalyst (#240) --- src/NetVips/ModuleInitializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetVips/ModuleInitializer.cs b/src/NetVips/ModuleInitializer.cs index 0037bc1..07513dc 100644 --- a/src/NetVips/ModuleInitializer.cs +++ b/src/NetVips/ModuleInitializer.cs @@ -58,7 +58,7 @@ internal static string RemapLibraryName(string libraryName) // single shared library with all dependencies statically linked // without breaking compatibility with the shared builds // (i.e. what is usually installed via package managers). - return OperatingSystem.IsMacOS() + return OperatingSystem.IsMacOS() || OperatingSystem.IsMacCatalyst() ? "libvips.42.dylib" : "libvips.so.42"; }