Skip to content

Commit 22cc3df

Browse files
committed
ANDROID: clean build fix
Without the "param" file, the placed new one had the mistake of unescaped $VAR parts which caused problems. Since I always had my own param file, I haven't noticed the problem till now with a new branch without the param file.
1 parent 11e0715 commit 22cc3df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/configure/sdl2-config-for-android

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ if [ ! -s $PARAM_FILE ]; then
1717
# This part only writes file sdl2-config-for-android.params if it's not
1818
# there yet, but you can customize it then, there.
1919
cat > $PARAM_FILE << EOF
20-
SDL_BASE=$HOME/android/SDL-release-2.28.5
20+
SDL_BASE=\$HOME/android/SDL-release-2.28.5
2121
SYS_ARCH=arm64-v8a
22-
NDK_CC=$HOME/android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android31-clang
23-
CFLAGS_SDL="-I$SDL_BASE/include/ -D_REENTRANT -Dmain=SDL_main"
22+
NDK_CC=\$HOME/android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android31-clang
23+
CFLAGS_SDL="-I\$SDL_BASE/include/ -D_REENTRANT -Dmain=SDL_main"
2424
CFLAGS_ANDROID="-fPIC -DANDROID"
2525
CFLAGS_ARCH=""
2626
LDFLAGS_SDL="-L\$SDL_BASE/build/android/lib/arm64-v8a/ -lSDL2"

0 commit comments

Comments
 (0)