Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Delta Between Two Patch Sets: Lib/distutils/unixccompiler.py

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 3 months ago
Right Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/distutils/tests/test_cygwinccompiler.py ('k') | Lib/plat-generic/regen » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 """distutils.unixccompiler 1 """distutils.unixccompiler
2 2
3 Contains the UnixCCompiler class, a subclass of CCompiler that handles 3 Contains the UnixCCompiler class, a subclass of CCompiler that handles
4 the "typical" Unix-style command-line C compiler: 4 the "typical" Unix-style command-line C compiler:
5 * macros defined with -Dname[=value] 5 * macros defined with -Dname[=value]
6 * macros undefined with -Uname 6 * macros undefined with -Uname
7 * include search directories specified with -Idir 7 * include search directories specified with -Idir
8 * libraries specified with -lllib 8 * libraries specified with -lllib
9 * library search directories specified with -Ldir 9 * library search directories specified with -Ldir
10 * compile handled by 'cc' (or similar) executable with -c option: 10 * compile handled by 'cc' (or similar) executable with -c option:
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 # ignoring even GCC's "-static" option. So sue me. 296 # ignoring even GCC's "-static" option. So sue me.
297 if os.path.exists(dylib): 297 if os.path.exists(dylib):
298 return dylib 298 return dylib
299 elif os.path.exists(shared): 299 elif os.path.exists(shared):
300 return shared 300 return shared
301 elif os.path.exists(static): 301 elif os.path.exists(static):
302 return static 302 return static
303 303
304 # Oops, didn't find it in *any* of 'dirs' 304 # Oops, didn't find it in *any* of 'dirs'
305 return None 305 return None
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+