From 316557621197894bc33eeb9041677d4ec22b4c68 Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Tue, 28 Nov 2017 16:06:31 +0200 Subject: [PATCH] SDL: Fixed an error with trying to load static libraries --- changeAppSettings.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/changeAppSettings.sh b/changeAppSettings.sh index 2d4a3e1f4..dc9d433ef 100755 --- a/changeAppSettings.sh +++ b/changeAppSettings.sh @@ -749,7 +749,11 @@ else fi LibrariesToLoad="\\\"sdl_native_helpers\\\", \\\"sdl-$LibSdlVersion\\\"" -StaticLibraries=`grep 'APP_AVAILABLE_STATIC_LIBS' project/jni/SettingsTemplate.mk | sed 's/.*=\(.*\)/\1/'` +StaticLibraries="`echo ' +include project/jni/SettingsTemplate.mk +all: + @echo $(APP_AVAILABLE_STATIC_LIBS) +.PHONY: all' | make -s -f -`" for lib in $CompiledLibraries; do process=true for lib1 in $StaticLibraries; do