Navigation Menu

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
  • Loading branch information
PeterPetrik committed Nov 14, 2018
1 parent 737eb59 commit 674873b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit 674873b

Please sign in to comment.