tools: allow to run setup-musl-build.sh for already set up directory
This commit is contained in:
committed by
Daan De Meyer
parent
508dc4c3fa
commit
fe3c790f71
@@ -63,6 +63,7 @@ LINKS=(
|
||||
zstd_errors.h
|
||||
)
|
||||
|
||||
rm -rf "${SETUP_DIR}"
|
||||
for t in "${LINKS[@]}"; do
|
||||
[[ -e /usr/include/"$t" ]]
|
||||
link="${SETUP_DIR}/usr/include/${t}"
|
||||
@@ -82,4 +83,4 @@ env \
|
||||
CXX=musl-gcc \
|
||||
CFLAGS="$CFLAGS" \
|
||||
CXXFLAGS="$CFLAGS" \
|
||||
meson setup -Ddbus-interfaces-dir=no -Dlibc=musl "${BUILD_DIR}" "${@}"
|
||||
meson setup --reconfigure -Ddbus-interfaces-dir=no -Dlibc=musl "${BUILD_DIR}" "${@}"
|
||||
|
||||
Reference in New Issue
Block a user