The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python-pycrypto / 0001-remove-incorrect-header-path.patch
1 Do not use /usr/include for headers
2
3 Using /usr/include is wrong when doing cross-compilation, so get rid
4 of it, and rely on the compiler to use the appropriate default paths
5 for headers.
6
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
9 Index: b/setup.py
10 ===================================================================
11 --- a/setup.py
12 +++ b/setup.py
13 @@ -370,7 +370,7 @@
14        'ext_modules': plat_ext + [
15              # _fastmath (uses GNU mp library)
16              Extension("Crypto.PublicKey._fastmath",
17 -                      include_dirs=['src/','/usr/include/'],
18 +                      include_dirs=['src/'],
19                        libraries=['gmp'],
20                        sources=["src/_fastmath.c"]),
21