mirror of https://github.com/axmolengine/axmol.git
Fix android shared loader for openal-soft
This commit is contained in:
parent
39ca61f623
commit
5c070abfa6
|
@ -240,7 +240,11 @@ if(BUILD_DEP_ALSOFT)
|
||||||
target_link_libraries(thirdparty
|
target_link_libraries(thirdparty
|
||||||
OpenAL
|
OpenAL
|
||||||
)
|
)
|
||||||
target_compile_definitions(thirdparty PUBLIC DCC_USE_ALSOFT=1)
|
target_compile_definitions(thirdparty PUBLIC CC_USE_ALSOFT=1)
|
||||||
|
|
||||||
|
if(ANDROID)
|
||||||
|
set(ANDROID_SHARED_LOADS "${ANDROID_SHARED_LOADS}System.loadLibrary(\"openal\");" CACHE INTERNAL "Android Shared Loads" )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# The ogg decoder
|
# The ogg decoder
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
Copyright (c) 2020 c4games.com
|
Copyright (c) 2020 c4games.com
|
||||||
|
Copyright (c) 2021 Bytedance Inc.
|
||||||
|
|
||||||
http://www.cocos2d-x.org
|
http://www.cocos2d-x.org
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue