Mercurial > hg-stable
changeset 25074:0021ad4c2309
setup: integrate osutil C extension into extmodules initialization
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Thu, 14 May 2015 11:04:36 +0200 |
parents | c1a9e31bec0f |
children | d1bd0fd07ee6 |
files | setup.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Thu May 14 11:04:35 2015 +0200 +++ b/setup.py Thu May 14 11:04:36 2015 +0200 @@ -503,12 +503,11 @@ 'mercurial/parsers.c', 'mercurial/pathencode.c'], depends=common_depends), + Extension('mercurial.osutil', ['mercurial/osutil.c'], + extra_link_args=osutil_ldflags, + depends=common_depends), ] -extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'], - extra_link_args=osutil_ldflags, - depends=common_depends)) - try: from distutils import cygwinccompiler