mirror of https://github.com/axmolengine/axmol.git
Try fix empty/missing DT_HASH in "libOpenSLES.so"
This commit is contained in:
parent
34f5b84d5d
commit
ff2258be7c
|
@ -89,6 +89,12 @@ endif()
|
|||
|
||||
set(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Library postfix for debug builds. Normally left blank." FORCE)
|
||||
|
||||
# set hash style to both for android old device compatible
|
||||
# see also: https://github.com/adxeproject/adxe/discussions/614
|
||||
if (ANDROID)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--hash-style=both")
|
||||
endif()
|
||||
|
||||
# check visual studio version
|
||||
if(WINDOWS)
|
||||
# not support other compile tools except MSVC for now
|
||||
|
|
Loading…
Reference in New Issue