diff --git a/cmake/luajit.cmake b/cmake/luajit.cmake
index ee2dde07116cc401c71bb9c9eb669bc22acc1701..154e2f455a883e2775a48b0cd72fef507656cd7f 100644
--- a/cmake/luajit.cmake
+++ b/cmake/luajit.cmake
@@ -139,7 +139,7 @@ macro(luajit_build)
     #
     # This stuff is extremely fragile, proceed with caution.
     set (luajit_cflags ${CMAKE_C_FLAGS})
-    set (luajut_ldflags ${CMAKE_EXE_LINKER_FLAGS})
+    set (luajit_ldflags ${CMAKE_EXE_LINKER_FLAGS})
     separate_arguments(luajit_cflags)
     separate_arguments(luajit_ldflags)
     if(CC_HAS_WNO_PARENTHESES_EQUALITY)