diff options
-rw-r--r-- | Modules/Setup.dist | 1 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist index ea76938..bef4939 100644 --- a/Modules/Setup.dist +++ b/Modules/Setup.dist @@ -147,6 +147,7 @@ GLHACK=-Dclear=__GLclear #struct structmodule.c # binary structure packing/unpacking #time timemodule.c # -lm # time operations and variables #operator operator.c # operator.add() and similar goodies +#_weakref _weakref.c # basic weak reference support #_codecs _codecsmodule.c # access to the builtin codecs and codec registry #unicodedata unicodedata.c unicodedatabase.c @@ -153,6 +153,7 @@ class PyBuildExt(build_ext): exts.append( Extension('regex', ['regexmodule.c', 'regexpr.c']) ) exts.append( Extension('pcre', ['pcremodule.c', 'pypcre.c']) ) + exts.append( Extension('_weakref', ['_weakref.c']) ) exts.append( Extension('xreadlines', ['xreadlinesmodule.c']) ) # array objects |