mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 05:54:20 +01:00
Store dependencies configure args in bash arrays
This will make it possible to easily add items conditionally.
This commit is contained in:
@@ -33,11 +33,14 @@ else
|
||||
mkdir "$HOST"
|
||||
cd "$HOST"
|
||||
|
||||
"$SOURCES_DIR/$PROJECT_DIR"/configure \
|
||||
--prefix="$INSTALL_DIR/$HOST" \
|
||||
--host="$HOST_TRIPLET" \
|
||||
--enable-shared \
|
||||
conf=(
|
||||
--prefix="$INSTALL_DIR/$HOST"
|
||||
--host="$HOST_TRIPLET"
|
||||
--enable-shared
|
||||
--disable-static
|
||||
)
|
||||
|
||||
"$SOURCES_DIR/$PROJECT_DIR"/configure "${conf[@]}"
|
||||
fi
|
||||
|
||||
make -j
|
||||
|
||||
Reference in New Issue
Block a user