diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ce812631441f44ec28bf657af5c94220205b0a6..ef7013586f1563265a84b7be2398a5611f7b51db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -232,6 +232,10 @@ if(NOT CMAKE_CROSSCOMPILING AND EXISTS "/etc/gentoo-release")
     # LuaRocks on Gentoo
     list(APPEND _libdirs "/usr/${MULTILIB}/lua/luarocks/lib")
 endif()
+if(NOT CMAKE_CROSSCOMPILING AND EXISTS "/etc/alpine-release")
+    # LuaRocks on Alpine
+    list(APPEND _libdirs "/usr/local/lib")
+endif()
 list(APPEND _libdirs "/usr/${MULTILIB}") # System packages
 list(REMOVE_DUPLICATES _libdirs)
 set(MODULE_LIBPATH)