From 1a08e55cbd5178285ba7c7c427a4d462342ed891 Mon Sep 17 00:00:00 2001 From: swalker Date: Sun, 9 Dec 2012 20:31:38 +0000 Subject: [PATCH] [packages] python-crypto: remove host include path (#12592) git-svn-id: svn://svn.openwrt.org/openwrt/packages@34587 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/python-crypto/patches/001-no-host-paths.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lang/python-crypto/patches/001-no-host-paths.patch diff --git a/lang/python-crypto/patches/001-no-host-paths.patch b/lang/python-crypto/patches/001-no-host-paths.patch new file mode 100644 index 000000000..d481627a2 --- /dev/null +++ b/lang/python-crypto/patches/001-no-host-paths.patch @@ -0,0 +1,11 @@ +--- 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"]), +