Using dlopen() on all platforms except WIN32.
parent
18310752b8
commit
1704d0fd6b
|
@ -27,11 +27,7 @@ endif()
|
|||
|
||||
# Tell Lua what dynamic loader to use (for LuaRocks):
|
||||
if (UNIX)
|
||||
if (APPLE)
|
||||
add_definitions(-DLUA_USE_MACOSX)
|
||||
else()
|
||||
add_definitions(-DLUA_USE_LINUX)
|
||||
endif ()
|
||||
add_definitions(-DLUA_USE_DLOPEN)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
|
|
Loading…
Reference in New Issue