[Python-checkins] cpython (3.6): Issue #28930: Add a Makefile rule for bytes_methods.c.

xiang.zhang python-checkins at python.org
Thu Dec 15 04:15:44 EST 2016


https://hg.python.org/cpython/rev/56a7eb5a0679
changeset:   105635:56a7eb5a0679
branch:      3.6
parent:      105632:f2745b64d8b7
user:        Xiang Zhang <angwerzx at 126.com>
date:        Thu Dec 15 16:41:12 2016 +0800
summary:
  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.

files:
  Makefile.pre.in |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -858,8 +858,8 @@
 		$(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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list