Show More
@@ -484,6 +484,11 pymodules = [] | |||
|
484 | 484 | |
|
485 | 485 | common_depends = ['mercurial/util.h'] |
|
486 | 486 | |
|
487 | osutil_ldflags = [] | |
|
488 | ||
|
489 | if sys.platform == 'darwin': | |
|
490 | osutil_ldflags += ['-framework', 'ApplicationServices'] | |
|
491 | ||
|
487 | 492 | extmodules = [ |
|
488 | 493 | Extension('mercurial.base85', ['mercurial/base85.c'], |
|
489 | 494 | depends=common_depends), |
@@ -500,11 +505,6 extmodules = [ | |||
|
500 | 505 | depends=common_depends), |
|
501 | 506 | ] |
|
502 | 507 | |
|
503 | osutil_ldflags = [] | |
|
504 | ||
|
505 | if sys.platform == 'darwin': | |
|
506 | osutil_ldflags += ['-framework', 'ApplicationServices'] | |
|
507 | ||
|
508 | 508 | extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'], |
|
509 | 509 | extra_link_args=osutil_ldflags, |
|
510 | 510 | depends=common_depends)) |
General Comments 0
You need to be logged in to leave comments.
Login now