From: Andrei Tatar Date: Tue, 25 Jul 2023 19:36:26 +0000 (+0200) Subject: Makefile.uk: remove malloc_closure.c from ctypes X-Git-Tag: RELEASE-0.14.0~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=884dea9b712118cb8036d2cc54417217147f9ad8;p=unikraft%2Flibs%2Fpython3.git 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 --- 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