summaryrefslogtreecommitdiffstats
path: root/lib/lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-10 10:03:39 +0100
committermadmaxoft <github@xoft.cz>2014-01-10 10:03:39 +0100
commit1704d0fd6bae38066d6b15e6468dadc058d1f703 (patch)
tree7e480c5703303bd3f1745597598f1e229cfa8c12 /lib/lua
parentFixed a typo in the TestLuaRocks test plugin. (diff)
downloadcuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.tar
cuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.tar.gz
cuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.tar.bz2
cuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.tar.lz
cuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.tar.xz
cuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.tar.zst
cuberite-1704d0fd6bae38066d6b15e6468dadc058d1f703.zip
Diffstat (limited to 'lib/lua')
-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)