mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
fix: prefer toolchain-provided linker to embed web-ui assets
Signed-off-by: Attila Oláh <attila@dorn.haus>
This commit is contained in:
1 file changed
+1
-1
@@ -72,7 +72,7 @@ for file in "${FILES[@]}"; do
|
||||
if $IS_LINUX; then
|
||||
# Linux: ld -r -b binary (zero bloat, ELF only)
|
||||
abs_obj="$(cd "$(dirname "$0")/.." && pwd)/$obj"
|
||||
(cd "$DIST_DIR" && ld -r -b binary -o "$abs_obj" "$rel")
|
||||
(cd "$DIST_DIR" && "${LD:-ld}" -r -b binary -o "$abs_obj" "$rel")
|
||||
else
|
||||
# macOS/Windows/MSYS2: generate C byte array + cc (no xxd dependency)
|
||||
local_c="$OUTPUT_DIR/embed_${mangled}.c"
|
||||
|
||||
Reference in new issue
Block a user