updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ocropus-hg / ocrorast.patch
blob43a3133350153402225a90e52b7e2e93afb470c0
1 --- old/ocrorast/setup.py 2011-10-12 18:39:23.115945994 +0200
2 +++ new/ocrorast/setup.py 2011-10-11 15:56:49.841541061 +0200
3 @@ -6,6 +6,9 @@
5 include_dirs = ['/usr/local/include'] + get_numpy_include_dirs()
6 swig_opts = ["-c++"] + ["-I" + d for d in include_dirs]
7 +env_swig_opts = os.getenv('SWIG_OPTS')
8 +if env_swig_opts is not None:
9 + swig_opts.append(env_swig_opts)
11 ocrorast = Extension('_ocrorast',
12 library_dirs = ['.'],