Fixed darwin build (#178)
* RSIZE_MAX is already defined by system on darwin * MADV_HUGEPAGE is not available on darwin * Fixed linker error 'Undefined symbol _get_ext_lib_export_apis' on darwin when building iwasm dylib
This commit is contained in:
@ -52,6 +52,7 @@ if (NOT DEFINED WAMR_BUILD_LIBC_WASI)
|
||||
set (WAMR_BUILD_LIBC_WASI 0)
|
||||
endif ()
|
||||
|
||||
set (CMAKE_SHARED_LINKER_FLAGS "-Wl,-U,_get_ext_lib_export_apis")
|
||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
|
||||
|
||||
set (CMAKE_MACOSX_RPATH True)
|
||||
|
||||
Reference in New Issue
Block a user