From d027b5ff9c1f5c29f37328b913c88fcea0a33663 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 3 Feb 2022 11:53:07 +0100 Subject: [PATCH] Remove breaking Android build option This option was added as a tentative to push CMake to link statically Xapian, the result was instead to completely break linking even of standard library --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cc6b57cdb..85b7c82cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,10 +152,6 @@ include(src/CMakeLists.txt) list(TRANSFORM RS_SOURCES PREPEND src/) list(TRANSFORM RS_PUBLIC_HEADERS PREPEND src/) -if(RS_ANDROID) - set(CMAKE_LINK_SEARCH_START_STATIC ON) -endif(RS_ANDROID) - if(RS_LIBRETROSHARE_STATIC) add_library(${PROJECT_NAME} STATIC ${RS_SOURCES}) endif(RS_LIBRETROSHARE_STATIC)