Skip to content

Commit

Permalink
frameworks must be linked weakly so the symbols are resolved on runtime
Browse files Browse the repository at this point in the history
(cherry picked from commit 674873b)
  • Loading branch information
PeterPetrik authored and wonder-sk committed Nov 22, 2018
1 parent 7760eea commit a622ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit a622ce5

Please sign in to comment.