diff --git a/src/mod/languages/mod_lua/Makefile b/src/mod/languages/mod_lua/Makefile index b086108b6d..8f63bd041e 100644 --- a/src/mod/languages/mod_lua/Makefile +++ b/src/mod/languages/mod_lua/Makefile @@ -11,7 +11,7 @@ include $(BASE)/build/modmake.rules local_depend: $(LOCAL_OBJS) $(LIBLUA_A): - cd lua && $(MAKE) CC="$(CC)" CFLAGS="$(ALL_CFLAGS) -DLUA_USE_LINUX -w" liblua.a + cd lua && $(MAKE) CC="$(CC)" AR="$(AR)" CFLAGS="$(ALL_CFLAGS) -DLUA_USE_LINUX -w" liblua.a reswig: swigclean mod_lua_wrap.cpp