equal
deleted
inserted
replaced
1 # pass $CC_BITS to link_executable to make sure the linker is called |
1 # pass $CC_BITS to link_executable to make sure the linker is called |
2 # correctly |
2 # correctly |
3 --- netifaces-0.8/setup.py.orig 2014-01-03 16:12:47.195304001 -0700 |
3 |
4 +++ netifaces-0.8/setup.py 2014-01-03 16:13:35.577255946 -0700 |
4 --- netifaces-0.10.4/setup.py.~1~ 2014-05-19 04:39:39.000000000 -0700 |
5 @@ -69,7 +69,8 @@ |
5 +++ netifaces-0.10.4/setup.py 2015-02-25 11:00:31.638387652 -0800 |
|
6 @@ -78,7 +78,8 @@ class my_build_ext(build_ext): |
6 output_dir=self.build_temp, |
7 output_dir=self.build_temp, |
7 library_dirs=library_dirs, |
8 library_dirs=library_dirs, |
8 libraries=libraries, |
9 libraries=libraries, |
9 - debug=self.debug) |
10 - debug=self.debug) |
10 + debug=self.debug, |
11 + debug=self.debug, |
11 + extra_preargs=[os.environ["CC_BITS"]]) |
12 + extra_preargs=[os.environ["CC_BITS"]]) |
12 if execute: |
13 if execute: |
13 abspath = os.path.abspath(os.path.join(self.build_temp, |
14 abspath = os.path.abspath(os.path.join(self.build_temp, |
14 'conftest')) |
15 'conftest')) |
15 @@ -132,7 +132,7 @@ |
|
16 return 0; |
|
17 } |
|
18 """ |
|
19 - if self.test_build(testrig): |
|
20 + if self.test_build(testrig, libraries=libraries): |
|
21 result = True |
|
22 else: |
|
23 result = False |
|