Skip to content

Commit 7a549ab

Browse files
committed
Ensure that ndk-build runs 1 parallel job
1 parent bf0c4ca commit 7a549ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/android/build-android-dependencies/build-android-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ cd $BUILDDIR/src/SDL3-ndk-build
194194
webpPath=($BUILDDIR/src/libwebp-*)
195195
sdl_imagePath=($BUILDDIR/src/SDL3_image-*)
196196
ln -sf $webpPath $sdl_imagePath/external/libwebp
197-
$NDK/ndk-build V=1 SUPPORT_WEBP=true SUPPORT_WAVPACK=false SUPPORT_SAVE_WEBP=false APP_ABI="$ARCHS"
197+
$NDK/ndk-build -j1 V=1 SUPPORT_WEBP=true SUPPORT_WAVPACK=false SUPPORT_SAVE_WEBP=false APP_ABI="$ARCHS"
198198
for lib in libs/*/*.so
199199
do
200200
instdir=$(basename $(dirname $lib))

0 commit comments

Comments
 (0)