Skip to content
Permalink
Browse files

frameworks must be linked weakly so the symbols are resolved on runtime

(cherry picked from commit 674873b)
  • Loading branch information
PeterPetrik authored and wonder-sk committed Nov 13, 2018
1 parent 7760eea commit a622ce5672e5764bd61485666257b730f8a71b5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/native/CMakeLists.txt
@@ -24,7 +24,7 @@ IF(APPLE)
MESSAGE(FATAL_ERROR "Couldn't find Apple's '${_lib}' framework or library")
ENDIF(NOT APPLE_${_lib_var}_LIBRARY)

LIST(APPEND NATIVE_LINK_LIBS "-framework ${_lib}")
LIST(APPEND NATIVE_LINK_LIBS "-weak_framework ${_lib}")
ENDFOREACH(_lib ${APPLE_LIB_LIST})
ENDIF(APPLE)

0 comments on commit a622ce5

Please sign in to comment.
You can’t perform that action at this time.