From: Xiang Zhang Date: Thu, 15 Dec 2016 08:41:12 +0000 (+0800) Subject: Issue #28930: Add a Makefile rule for bytes_methods.c. X-Git-Tag: v3.6.1rc1~308 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d40e37883e8c4002c1fb123fbdcade5506b72af;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index cd7d33d23044..48b5180b0742 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)