equal
deleted
inserted
replaced
1 --- Python-2.7.6/setup.py.~1~ 2013-11-09 23:36:41.000000000 -0800 |
1 This patch modifies the setup script to support Solaris. |
2 +++ Python-2.7.6/setup.py 2014-05-14 12:46:04.859407465 -0700 |
2 As it is Solaris-specific, it is not suitable for upstream. |
|
3 |
|
4 --- Python-2.7.7/setup.py.~1~ 2014-05-31 11:58:40.000000000 -0700 |
|
5 +++ Python-2.7.7/setup.py 2014-06-02 10:51:15.317252625 -0700 |
3 @@ -437,9 +437,9 @@ |
6 @@ -437,9 +437,9 @@ |
4 |
7 |
5 def detect_modules(self): |
8 def detect_modules(self): |
6 # Ensure that /usr/local is always used |
9 # Ensure that /usr/local is always used |
7 - if not cross_compiling: |
10 - if not cross_compiling: |
25 + readline_libs = () |
28 + readline_libs = () |
26 + |
29 + |
27 exts.append( Extension('readline', ['readline.c'], |
30 exts.append( Extension('readline', ['readline.c'], |
28 library_dirs=['/usr/lib/termcap'], |
31 library_dirs=['/usr/lib/termcap'], |
29 extra_link_args=readline_extra_link_args, |
32 extra_link_args=readline_extra_link_args, |
30 @@ -2075,7 +2082,8 @@ |
33 @@ -2079,7 +2086,8 @@ |
31 # this option. If you want to compile ctypes with the Sun |
34 # this option. If you want to compile ctypes with the Sun |
32 # compiler, please research a proper solution, instead of |
35 # compiler, please research a proper solution, instead of |
33 # finding some -z option for the Sun compiler. |
36 # finding some -z option for the Sun compiler. |
34 - extra_link_args.append('-mimpure-text') |
37 - extra_link_args.append('-mimpure-text') |
35 + #extra_link_args.append('-mimpure-text') |
38 + #extra_link_args.append('-mimpure-text') |