Skip to content

Commit 674873b

Browse files
committed
frameworks must be linked weakly so the symbols are resolved on runtime
1 parent 737eb59 commit 674873b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ IF(APPLE)
3030
MESSAGE(FATAL_ERROR "Couldn't find Apple's '${_lib}' framework or library")
3131
ENDIF(NOT APPLE_${_lib_var}_LIBRARY)
3232

33-
LIST(APPEND NATIVE_LINK_LIBS "-framework ${_lib}")
33+
LIST(APPEND NATIVE_LINK_LIBS "-weak_framework ${_lib}")
3434
ENDFOREACH(_lib ${APPLE_LIB_LIST})
3535
ENDIF(APPLE)
3636

0 commit comments

Comments
 (0)