aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/lfs.patch
blob: 85391e65c45b64a527bcf6b85f8eee6c0e2b9204 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lfs.c	2015-04-18 10:36:56.458722799 -0400
+++ lib/lfs.c	2015-04-18 10:37:06.806736918 -0400
@@ -78,7 +78,7 @@
 #endif
 
 #if LUA_VERSION_NUM < 502
-#  define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l))
+#  define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,LFS_LIBNAME,l))
 #endif
 
 /* Define 'strerror' for systems that do not implement it */