Show More
@@ -229,7 +229,7 b' class hgbuildext(build_ext):' | |||||
229 | try: |
|
229 | try: | |
230 | build_ext.build_extension(self, ext) |
|
230 | build_ext.build_extension(self, ext) | |
231 | except CCompilerError: |
|
231 | except CCompilerError: | |
232 |
if not |
|
232 | if not getattr(ext, 'optional', False): | |
233 | raise |
|
233 | raise | |
234 | log.warn("Failed to build optional extension '%s' (skipping)", |
|
234 | log.warn("Failed to build optional extension '%s' (skipping)", | |
235 | ext.name) |
|
235 | ext.name) |
General Comments 0
You need to be logged in to leave comments.
Login now