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