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
This commit is contained in:
Gioacchino Mazzurco 2022-02-03 11:53:07 +01:00
parent c5070bc6cf
commit d027b5ff9c
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -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)