summaryrefslogtreecommitdiff
path: root/dev-python/pycrypto/files/pycrypto-2.6.1-cross-compile.patch
blob: 2ce24a49cc71d92e43410f0b55306db5ad40267a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
do not hardcode -I/usr/include as it's useless and breaks cross-compiles

--- a/setup.py
+++ b/setup.py
@@ -370,7 +370,7 @@ kw = {'name':"pycrypto",
       'ext_modules': plat_ext + [
             # _fastmath (uses GNU mp library)
             Extension("Crypto.PublicKey._fastmath",
-                      include_dirs=['src/','/usr/include/'],
+                      include_dirs=['src/'],
                       libraries=['gmp'],
                       sources=["src/_fastmath.c"]),