File tree Expand file tree Collapse file tree
examples/example_android_sdl3_opengl3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,20 +30,12 @@ SOURCES=( \
3030" ../../backends/imgui_impl_sdl3.h " \
3131" ../../examples/example_sdl3_opengl3/main.cpp" )
3232
33- SOURCE_AS_STR=" "
34- for val in " ${SOURCES[@]} " ;
35- do
36- SOURCE_AS_STR+=$val
37- done
38-
39- echo -n $SOURCE_AS_STR
40-
4133ANDROID_JNI_PATH=" ${SDL_DIR} /build/${JAVA_PKG_NAME} /app/jni/src"
4234ANDROID_STRINGS_PATH=" ${SDL_DIR} /build/${JAVA_PKG_NAME} /app/src/main/res/values"
4335
4436
4537if [ ! -d " ${ANDROID_JNI_PATH} " ]; then
46- bash ${SDL_BUILD_SCRIPTS_DIR} /androidbuild.sh $JAVA_PKG_NAME < " ${SOURCE_AS_STR } "
38+ bash ${SDL_BUILD_SCRIPTS_DIR} /androidbuild.sh $JAVA_PKG_NAME " ${SOURCES[@] } "
4739 sed -i -e " s|-lGLESv2|-lGLESv2 -lGLESv3|" $ANDROID_JNI_PATH /Android.mk
4840 sed -i -e " s|Game|$APP_NAME |g" $ANDROID_STRINGS_PATH /strings.xml
4941fi
You can’t perform that action at this time.
0 commit comments