Skip to content
Permalink
Browse files

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

  • Loading branch information
PeterPetrik committed Nov 13, 2018
1 parent 737eb59 commit 674873b1eb630649e5e0f42be7b0bb6426dcba49
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/native/CMakeLists.txt
@@ -30,7 +30,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 674873b

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