Fix wrong argument name (#5366)

This commit is contained in:
peterjc123 2018-02-23 13:37:02 +08:00 committed by Soumith Chintala
parent 013ed5b88f
commit cc9d3b265d

View file

@ -424,7 +424,7 @@ class build_ext(build_ext_parent):
os.remove(cfile)
shutil.copyfile(hfile, cfile)
C.main_sources += cfile_list
C.sources += cfile_list
if WITH_NINJA:
# before we start the normal build make sure all generated code
# gets built