Commit | Line | Data |
---|---|---|
9bcd2ca9 FF |
1 | diff -u -r ../Python-2.7.10/setup.py ./setup.py |
2 | --- ../Python-2.7.10/setup.py 2015-05-23 12:09:25.000000000 -0400 | |
3152547b | 3 | +++ ./setup.py 2015-11-07 17:34:53.020310751 -0500 |
9bcd2ca9 FF |
4 | @@ -294,6 +294,9 @@ |
5 | (ext.name, sys.exc_info()[1])) | |
6 | self.failed.append(ext.name) | |
7 | return | |
8 | + | |
9 | + return # Skip import check which does not work when cross compiling | |
10 | + | |
11 | # Workaround for Mac OS X: The Carbon-based modules cannot be | |
12 | # reliably imported into a command-line Python | |
13 | if 'Carbon' in ext.extra_link_args: | |
3152547b FF |
14 | @@ -674,7 +677,8 @@ |
15 | ||
16 | # Lance Ellinghaus's syslog module | |
17 | # syslog daemon interface | |
18 | - exts.append( Extension('syslog', ['syslogmodule.c']) ) | |
19 | + # Termux: Add 'log' android library since we use android logging: | |
20 | + exts.append( Extension('syslog', ['syslogmodule.c'], libraries=['log']) ) | |
21 | ||
22 | # George Neville-Neil's timing module: | |
23 | # Deprecated in PEP 4 http://www.python.org/peps/pep-0004.html |