Skip to content

Commit

Permalink
iOS平台下禁止使用dlopen功能
Browse files Browse the repository at this point in the history
  • Loading branch information
vimfung committed Aug 14, 2019
1 parent 0ac9b49 commit 39019dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/lua-core/src/luaconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@

#if defined(LUA_USE_MACOSX)
#define LUA_USE_POSIX

#if LUA_PLATFORM != LUA_PLATFORM_IOS
#define LUA_USE_DLOPEN /* MacOS does not need -ldl */
#endif

#define LUA_USE_READLINE /* needs an extra library: -lreadline */
#endif

Expand Down

0 comments on commit 39019dc

Please sign in to comment.