diff --git a/Magico.Native/Initializer.cs b/Magico.Native/Initializer.cs index fde969c..0345122 100644 --- a/Magico.Native/Initializer.cs +++ b/Magico.Native/Initializer.cs @@ -53,12 +53,27 @@ internal static void InitializeNative() if (PlatformHelper.IsOnWindows()) { string gnuRxPath = GetLibraryPath(LibraryGnuRxName); + string gnuRxTrePath = GetLibraryPath("libsystre-0"); + string trePath = GetLibraryPath("libtre-5"); + string intlPath = GetLibraryPath("libintl-8"); + string convPath = GetLibraryPath("libiconv-2"); + string gccPath = GetLibraryPath("libgcc_s_dw2-1"); if (File.Exists(gnuRxPath)) { var libManagerGnuRx = new LibraryManager( - new LibraryItem(Platform.Windows, Architecture.X64, new LibraryFile(gnuRxPath)), - new LibraryItem(Platform.Windows, Architecture.X86, new LibraryFile(gnuRxPath)), - new LibraryItem(Platform.Windows, Architecture.Arm64, new LibraryFile(gnuRxPath))); + new LibraryItem(Platform.Windows, Architecture.X64, + new LibraryFile(convPath), + new LibraryFile(intlPath), + new LibraryFile(trePath), + new LibraryFile(gnuRxTrePath)), + new LibraryItem(Platform.Windows, Architecture.X86, + new LibraryFile(gccPath), + new LibraryFile(gnuRxPath)), + new LibraryItem(Platform.Windows, Architecture.Arm64, + new LibraryFile(convPath), + new LibraryFile(intlPath), + new LibraryFile(trePath), + new LibraryFile(gnuRxTrePath))); libManagerGnuRx.LoadNativeLibrary(); } } diff --git a/Magico.Native/runtimes/win-arm64/native/libiconv-2.dll b/Magico.Native/runtimes/win-arm64/native/libiconv-2.dll new file mode 100644 index 0000000..120be81 Binary files /dev/null and b/Magico.Native/runtimes/win-arm64/native/libiconv-2.dll differ diff --git a/Magico.Native/runtimes/win-arm64/native/libintl-8.dll b/Magico.Native/runtimes/win-arm64/native/libintl-8.dll new file mode 100644 index 0000000..1779b7e Binary files /dev/null and b/Magico.Native/runtimes/win-arm64/native/libintl-8.dll differ diff --git a/Magico.Native/runtimes/win-arm64/native/libsystre-0.dll b/Magico.Native/runtimes/win-arm64/native/libsystre-0.dll new file mode 100644 index 0000000..4439454 Binary files /dev/null and b/Magico.Native/runtimes/win-arm64/native/libsystre-0.dll differ diff --git a/Magico.Native/runtimes/win-arm64/native/libtre-5.dll b/Magico.Native/runtimes/win-arm64/native/libtre-5.dll new file mode 100644 index 0000000..5812374 Binary files /dev/null and b/Magico.Native/runtimes/win-arm64/native/libtre-5.dll differ diff --git a/Magico.Native/runtimes/win-x64/native/libiconv-2.dll b/Magico.Native/runtimes/win-x64/native/libiconv-2.dll new file mode 100644 index 0000000..34abf65 Binary files /dev/null and b/Magico.Native/runtimes/win-x64/native/libiconv-2.dll differ diff --git a/Magico.Native/runtimes/win-x64/native/libintl-8.dll b/Magico.Native/runtimes/win-x64/native/libintl-8.dll new file mode 100644 index 0000000..2aed7ad Binary files /dev/null and b/Magico.Native/runtimes/win-x64/native/libintl-8.dll differ diff --git a/Magico.Native/runtimes/win-x64/native/libsystre-0.dll b/Magico.Native/runtimes/win-x64/native/libsystre-0.dll new file mode 100644 index 0000000..01ced0a Binary files /dev/null and b/Magico.Native/runtimes/win-x64/native/libsystre-0.dll differ diff --git a/Magico.Native/runtimes/win-x64/native/libtre-5.dll b/Magico.Native/runtimes/win-x64/native/libtre-5.dll new file mode 100644 index 0000000..3f563c7 Binary files /dev/null and b/Magico.Native/runtimes/win-x64/native/libtre-5.dll differ diff --git a/Magico.Native/runtimes/win-x86/native/libgcc_s_dw2-1.dll b/Magico.Native/runtimes/win-x86/native/libgcc_s_dw2-1.dll new file mode 100644 index 0000000..425c0a7 Binary files /dev/null and b/Magico.Native/runtimes/win-x86/native/libgcc_s_dw2-1.dll differ