chiark / gitweb /
Merge branch 'master' into tesseract
[termux-packages] / disabled-packages / python2-pycryptopp / setup.py.patch
1 diff -u -r ../pycryptopp-pycryptopp-0.6.0/setup.py ./setup.py
2 --- ../pycryptopp-pycryptopp-0.6.0/setup.py     2012-03-13 04:16:09.000000000 -0400
3 +++ ./setup.py  2016-01-20 19:54:13.085989935 -0500
4 @@ -57,8 +57,8 @@
5  undef_macros=[]
6  libraries=[]
7  ext_modules=[]
8 -include_dirs=[]
9 -library_dirs=[]
10 +include_dirs = ['/data/data/com.termux/files/usr/include', '/data/data/com.termux/files/usr/include/python2.7']
11 +library_dirs = ['/data/data/com.termux/files/usr/lib']
12  extra_srcs=[] # This is for Crypto++ .cpp files if they are needed.
13  
14  #
15 @@ -208,7 +208,7 @@
16                  for s in os.listdir(os.path.join("src-ed25519","supercop-ref"))
17                  if s.endswith(".c") and s!="test.c"])
18  m = Extension("pycryptopp.publickey.ed25519._ed25519",
19 -              include_dirs=[os.path.join("src-ed25519","supercop-ref")],
20 +              include_dirs=[os.path.join("src-ed25519","supercop-ref")] + include_dirs,
21                sources=sources)
22  ext_modules.append(m)
23