1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

Merge pull request #144 from bkram/finalize-macos-support

Finalize macOS support
This commit is contained in:
Marek Farkaš
2025-04-23 22:00:53 +02:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -16,6 +16,9 @@ if (platform === 'win32') {
} else if (platform === 'linux') { } else if (platform === 'linux') {
unicode_type = 'int32_t'; unicode_type = 'int32_t';
shared_Library=path.join(__dirname, "libraries", "librdsparser_" + cpuArchitecture + ".so"); shared_Library=path.join(__dirname, "libraries", "librdsparser_" + cpuArchitecture + ".so");
} else if (platform === 'darwin') {
unicode_type = 'int32_t';
shared_Library=path.join(__dirname, "libraries", "librdsparser" + ".dylib");
} }
const lib = koffi.load(shared_Library); const lib = koffi.load(shared_Library);

Binary file not shown.