Skip to content

Commit

Permalink
fix: add libc property to package.json when os === linux
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosacchetto committed Dec 7, 2023
1 parent 0a65949 commit fcfd936
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/@biomejs/biome/scripts/generate-packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ function generateNativePackage(platform, arch) {
homepage,
os: [os],
cpu: [arch],
libc: os === "linux"
? packageName.endsWith('musl')
? ['musl'] : ['glibc']
: undefined
});

const manifestPath = resolve(packageRoot, "package.json");
Expand Down

0 comments on commit fcfd936

Please sign in to comment.