Skip to content

Commit 25e6bc4

Browse files
committed
maybe this
1 parent c71eecb commit 25e6bc4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/ui.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,9 @@ export async function buildUi(target?: string, debug = false) {
9797
Object.assign(env, getSysrootEnv(target));
9898
}
9999

100-
// On musl (Alpine), GTK must be dynamically linked
100+
// On musl (Alpine), GTK must be dynamically linked even with static musl libc
101101
if (platform === "desktop" && await isMusl()) {
102-
const existingFlags = env.RUSTFLAGS || "";
103-
env.RUSTFLAGS = `${existingFlags} -C target-feature=-crt-static`.trim();
102+
env.PKG_CONFIG_ALL_DYNAMIC = "1";
104103
}
105104

106105
await exec(buildArgs, env);

0 commit comments

Comments
 (0)