From 3d40e37883e8c4002c1fb123fbdcade5506b72af Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Thu, 15 Dec 2016 16:41:12 +0800 Subject: [PATCH] Issue #28930: Add a Makefile rule for bytes_methods.c. Add a dependency to stringlib to make sure that bytes_methods.c is recompiled if stringlib is modified. --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index cd7d33d2304..48b5180b074 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -858,8 +858,8 @@ UNICODE_DEPS = \ $(srcdir)/Objects/stringlib/unicode_format.h \ $(srcdir)/Objects/stringlib/unicodedefs.h +Objects/bytes_methods.o: $(srcdir)/Objects/bytes_methods.c $(BYTESTR_DEPS) Objects/bytesobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS) - Objects/bytearrayobject.o: $(srcdir)/Objects/bytearrayobject.c $(BYTESTR_DEPS) Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c $(UNICODE_DEPS)