Fix the "register native with iwasm" stuff for macOS (#1558)
- core/shared/platform/darwin/platform_internal.h: macOS has dlopen - samples/native-lib/README.md: Mention macOS
This commit is contained in:
@ -46,6 +46,8 @@ extern "C" {
|
||||
#define BH_PLATFORM_DARWIN
|
||||
#endif
|
||||
|
||||
#define BH_HAS_DLFCN 1
|
||||
|
||||
/* Stack size of applet threads's native part. */
|
||||
#define BH_APPLET_PRESERVED_STACK_SIZE (32 * 1024)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user