Skip to content

Commit a622ce5

Browse files
PeterPetrikwonder-sk
authored andcommitted
frameworks must be linked weakly so the symbols are resolved on runtime
(cherry picked from commit 674873b)
1 parent 7760eea commit a622ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ IF(APPLE)
2424
MESSAGE(FATAL_ERROR "Couldn't find Apple's '${_lib}' framework or library")
2525
ENDIF(NOT APPLE_${_lib_var}_LIBRARY)
2626

27-
LIST(APPEND NATIVE_LINK_LIBS "-framework ${_lib}")
27+
LIST(APPEND NATIVE_LINK_LIBS "-weak_framework ${_lib}")
2828
ENDFOREACH(_lib ${APPLE_LIB_LIST})
2929
ENDIF(APPLE)
3030

0 commit comments

Comments
 (0)