fix native linux build script

This commit is contained in:
dan_s
2026-02-25 14:09:26 -06:00
parent f5c8e02f24
commit b25bd2838c
2 changed files with 3143 additions and 2230 deletions

View File

@@ -26,6 +26,14 @@ check_and_clean_target() {
if [[ -d src/leveldb ]]; then
make -C src/leveldb clean 2>/dev/null || true
fi
# Clean depends when switching between Docker and native builds,
# since Docker builds bake container paths into .la files
local TRIPLET
TRIPLET=$(./depends/config.guess 2>/dev/null || true)
if [[ -n "$TRIPLET" && -d "depends/$TRIPLET" ]]; then
echo "Cleaning depends/$TRIPLET to avoid path contamination..."
rm -rf "depends/$TRIPLET" "depends/built/$TRIPLET"
fi
echo "Clean complete."
fi

File diff suppressed because it is too large Load Diff