Show More
@@ -423,14 +423,21 b" packages = ['mercurial', 'mercurial.hgwe" | |||
|
423 | 423 | |
|
424 | 424 | pymodules = [] |
|
425 | 425 | |
|
426 | common_depends = ['mercurial/util.h'] | |
|
427 | ||
|
426 | 428 | extmodules = [ |
|
427 |
Extension('mercurial.base85', ['mercurial/base85.c'] |
|
|
428 | Extension('mercurial.bdiff', ['mercurial/bdiff.c']), | |
|
429 |
Extension('mercurial.diff |
|
|
430 | Extension('mercurial.mpatch', ['mercurial/mpatch.c']), | |
|
429 | Extension('mercurial.base85', ['mercurial/base85.c'], | |
|
430 | depends=common_depends), | |
|
431 | Extension('mercurial.bdiff', ['mercurial/bdiff.c'], | |
|
432 | depends=common_depends), | |
|
433 | Extension('mercurial.diffhelpers', ['mercurial/diffhelpers.c'], | |
|
434 | depends=common_depends), | |
|
435 | Extension('mercurial.mpatch', ['mercurial/mpatch.c'], | |
|
436 | depends=common_depends), | |
|
431 | 437 | Extension('mercurial.parsers', ['mercurial/dirs.c', |
|
432 | 438 | 'mercurial/parsers.c', |
|
433 |
'mercurial/pathencode.c'] |
|
|
439 | 'mercurial/pathencode.c'], | |
|
440 | depends=common_depends), | |
|
434 | 441 | ] |
|
435 | 442 | |
|
436 | 443 | osutil_ldflags = [] |
@@ -443,7 +450,8 b" if sys.platform == 'win32' and sys.versi" | |||
|
443 | 450 | pymodules.append('mercurial.pure.osutil') |
|
444 | 451 | else: |
|
445 | 452 | extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'], |
|
446 |
extra_link_args=osutil_ldflags |
|
|
453 | extra_link_args=osutil_ldflags, | |
|
454 | depends=common_depends)) | |
|
447 | 455 | |
|
448 | 456 | # the -mno-cygwin option has been deprecated for years |
|
449 | 457 | Mingw32CCompiler = cygwinccompiler.Mingw32CCompiler |
@@ -467,7 +475,8 b" if sys.platform.startswith('linux') and " | |||
|
467 | 475 | if hasfunction(cc, 'inotify_add_watch'): |
|
468 | 476 | inotify = Extension('hgext.inotify.linux._inotify', |
|
469 | 477 | ['hgext/inotify/linux/_inotify.c'], |
|
470 |
['mercurial'] |
|
|
478 | ['mercurial'], | |
|
479 | depends=common_depends) | |
|
471 | 480 | inotify.optional = True |
|
472 | 481 | extmodules.append(inotify) |
|
473 | 482 | packages.extend(['hgext.inotify', 'hgext.inotify.linux']) |
General Comments 0
You need to be logged in to leave comments.
Login now