File tree Expand file tree Collapse file tree
packaging/android/build-android-dependencies Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272
7373 if [[ $package == * " SDL3" * ]]
7474 then
75- mkdir build
76- cmake -S . -B ./build
77- cmake --build build
78- cmake --install build
79-
8075 if [ -f android-project/app/jni/Android.mk ]
8176 then
8277 mkdir -p ../SDL3-ndk-build/jni
187182 popd
188183 continue
189184 fi
185+ if [[ $package == * " SDL3" * ]]
186+ then
187+ cp -r $src_dir /include/* $PREFIXDIR /$abi /include/
188+ fi
190189 done
191190done
192191
@@ -195,7 +194,7 @@ cd $BUILDDIR/src/SDL3-ndk-build
195194webpPath=($BUILDDIR /src/libwebp-* )
196195sdl_imagePath=($BUILDDIR /src/SDL3_image-* )
197196ln -sf $webpPath $sdl_imagePath /external/libwebp
198- $NDK /ndk-build SUPPORT_WEBP=true APP_ABI=" $ARCHS "
197+ $NDK /ndk-build SUPPORT_WEBP=true SUPPORT_WAVPACK=false SUPPORT_SAVE_WEBP=false APP_ABI=" $ARCHS "
199198for lib in libs/* /* .so
200199do
201200 instdir=$( basename $( dirname $lib ) )
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ def CheckSDL3(context, require_version):
2323 if env ["PLATFORM" ] != "win32" or sys .platform == "msys" :
2424 for foo_config in [
2525 "pkg-config --cflags --libs $PKG_CONFIG_FLAGS sdl3" ,
26- "sdl3-config --cflags --libs"
26+ "sdl3-config --cflags --libs" ,
27+ "echo -lSDL3"
2728 ]:
2829 try :
2930 env .ParseConfig (foo_config )
You can’t perform that action at this time.
0 commit comments