lune/tests/ffi/utils/libSuffix.ts

13 lines
222 B
TypeScript
Vendored

export let libSuffix = "";
// @ts-ignore
switch (Deno.build.os) {
case "windows":
libSuffix = "dll";
break;
case "darwin":
libSuffix = "dylib";
break;
case "linux":
libSuffix = "so";
break;
}