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 5, 2023
1 parent f4ff180 commit fc00613
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 fc00613

Please sign in to comment.