summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/lua/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt
index ff5dc927c..af03f4b1a 100644
--- a/lib/lua/CMakeLists.txt
+++ b/lib/lua/CMakeLists.txt
@@ -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)