board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / python-pycrypto / 0001-remove-incorrect-header-path.patch
blob9268d311d554c24c227f21d1d7465611321b877d
1 Do not use /usr/include for headers
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.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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"]),