| 1 | diff -u -r ../Python-3.4.1/setup.py ./setup.py |
| 2 | --- ../Python-3.4.1/setup.py 2014-05-19 07:19:40.000000000 +0200 |
| 3 | +++ ./setup.py 2014-06-04 11:12:26.776875501 +0200 |
| 4 | @@ -568,7 +568,8 @@ |
| 5 | libraries=math_libs) ) |
| 6 | |
| 7 | # time libraries: librt may be needed for clock_gettime() |
| 8 | - time_libs = [] |
| 9 | + # math_libs is needed by floatsleep() |
| 10 | + time_libs = list(math_libs) |
| 11 | lib = sysconfig.get_config_var('TIMEMODULE_LIB') |
| 12 | if lib: |
| 13 | time_libs.append(lib) |
| 14 | @@ -625,7 +626,8 @@ |
| 15 | missing.append('spwd') |
| 16 | |
| 17 | # select(2); not on ancient System V |
| 18 | - exts.append( Extension('select', ['selectmodule.c']) ) |
| 19 | + # selectmodule.c calls the ceil(3) math function |
| 20 | + exts.append( Extension('select', ['selectmodule.c'], libraries=math_libs) ) |
| 21 | |
| 22 | # Fred Drake's interface to the Python parser |
| 23 | exts.append( Extension('parser', ['parsermodule.c']) ) |