]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28930: Add a Makefile rule for bytes_methods.c.
authorXiang Zhang <angwerzx@126.com>
Thu, 15 Dec 2016 08:41:12 +0000 (16:41 +0800)
committerXiang Zhang <angwerzx@126.com>
Thu, 15 Dec 2016 08:41:12 +0000 (16:41 +0800)
Add a dependency to stringlib to make sure that bytes_methods.c is
recompiled if stringlib is modified.

Makefile.pre.in

index cd7d33d2304430d690718cfe0aa90b7528429ec6..48b5180b0742e44d2b97bd5a7e074d86a57a7b28 100644 (file)
@@ -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)