From 884dea9b712118cb8036d2cc54417217147f9ad8 Mon Sep 17 00:00:00 2001 From: Andrei Tatar Date: Tue, 25 Jul 2023 21:36:26 +0200 Subject: [PATCH] Makefile.uk: remove malloc_closure.c from ctypes This change removes malloc_closure.c from the build of the ctypes extension, as its function is provided by libffi, upon which ctypes depends. Signed-off-by: Andrei Tatar Reviewed-by: Maria Sfiraiala Reviewed-by: Stefan Jumarea Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #15 --- Makefile.uk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.uk b/Makefile.uk index 88e403f..c2bef8d 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -355,7 +355,7 @@ LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/_ctypes.c #LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/libffi_osx/types.c #LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c #LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/libffi_osx/x86/x86-ffi_darwin.c -LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/malloc_closure.c +#LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/malloc_closure.c LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_ctypes/stgdict.c endif #LIBPYTHON3_EXTENSIONS_SRCS-y += $(LIBPYTHON3_SRC)/Modules/_cursesmodule.c -- 2.39.5