From 0f03c22783552e4deeba65fe6913e573193c77f0 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 8 Jun 2018 21:05:29 +0200 Subject: [PATCH] Revert "Use static link with android main SDL" Must be dynamic.. build failed.. This reverts commit 846c4720c733584699800b10e930fc343a0c4fc3. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6844db3..1b1ef7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -669,7 +669,7 @@ if (ANDROID) #find_package (PkgConfig REQUIRED) #pkg_search_module (SDL2 REQUIRED sdl2) - add_library (main STATIC android/SDL_android_main.c) + add_library(main SHARED android/SDL_android_main.c) add_dependencies (main planetblupi_Project) target_link_libraries (main PUBLIC planetblupi)