From 83b789f3c6daf6b074e832ab5ecf9e2b854974d1 Mon Sep 17 00:00:00 2001 From: xxyzz Date: Thu, 6 Apr 2023 14:31:59 +0800 Subject: [PATCH] Remove unnecessary code for adding some Lua 5.2 files The Lua 5.2.4 Makefile downloaded from lua.org/ftp has those .o files. --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 1752c15c..1f0a6023 100644 --- a/setup.py +++ b/setup.py @@ -303,8 +303,6 @@ def use_bundled_lua(path, macros): os.path.splitext(obj_file)[0] + '.c' if obj_file != 'lj_vm.o' else 'lj_vm.s' for obj_file in obj_files ] - if 'lua52' in path: - lua_sources.extend(['lbitlib.c', 'lcorolib.c', 'lctype.c']) src_dir = os.path.dirname(makefile) ext_libraries = [ [libname, {