Skip to content

Commit 8530c8c

Browse files
authored
Merge pull request DeusData#2675 from attilaolah/musl
Fix build against musl
2 parents a49481d + bd21af3 commit 8530c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/embed-frontend.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ for file in "${FILES[@]}"; do
7272
if $IS_LINUX; then
7373
# Linux: ld -r -b binary (zero bloat, ELF only)
7474
abs_obj="$(cd "$(dirname "$0")/.." && pwd)/$obj"
75-
(cd "$DIST_DIR" && ld -r -b binary -o "$abs_obj" "$rel")
75+
(cd "$DIST_DIR" && "${LD:-ld}" -r -b binary -o "$abs_obj" "$rel")
7676
else
7777
# macOS/Windows/MSYS2: generate C byte array + cc (no xxd dependency)
7878
local_c="$OUTPUT_DIR/embed_${mangled}.c"

0 commit comments

Comments
 (0)