##// END OF EJS Templates
setup: kill pure hack for osutil on Windows for Python 2.4...
Adrian Buehlmann -
r25072:637a15a8 default
parent child Browse files
Show More
@@ -505,13 +505,9 b' osutil_ldflags = []'
505 if sys.platform == 'darwin':
505 if sys.platform == 'darwin':
506 osutil_ldflags += ['-framework', 'ApplicationServices']
506 osutil_ldflags += ['-framework', 'ApplicationServices']
507
507
508 # disable osutil.c under windows + python 2.4 (issue1364)
508 extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'],
509 if sys.platform == 'win32' and sys.version_info < (2, 5, 0, 'final'):
509 extra_link_args=osutil_ldflags,
510 pymodules.append('mercurial.pure.osutil')
510 depends=common_depends))
511 else:
512 extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'],
513 extra_link_args=osutil_ldflags,
514 depends=common_depends))
515
511
516 try:
512 try:
517 from distutils import cygwinccompiler
513 from distutils import cygwinccompiler
General Comments 0
You need to be logged in to leave comments. Login now