File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
examples/example_android_sdl3_opengl3 Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -30,20 +30,12 @@ SOURCES=( \
30
30
" ../../backends/imgui_impl_sdl3.h " \
31
31
" ../../examples/example_sdl3_opengl3/main.cpp" )
32
32
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
-
41
33
ANDROID_JNI_PATH=" ${SDL_DIR} /build/${JAVA_PKG_NAME} /app/jni/src"
42
34
ANDROID_STRINGS_PATH=" ${SDL_DIR} /build/${JAVA_PKG_NAME} /app/src/main/res/values"
43
35
44
36
45
37
if [ ! -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[@] } "
47
39
sed -i -e " s|-lGLESv2|-lGLESv2 -lGLESv3|" $ANDROID_JNI_PATH /Android.mk
48
40
sed -i -e " s|Game|$APP_NAME |g" $ANDROID_STRINGS_PATH /strings.xml
49
41
fi
You can’t perform that action at this time.
0 commit comments