ports/lang/pypy/files/patch-lib__pypyX.Y__lib_pypy___sqlite3.py
David Naylor 7377997f9c Fix build of lang/pypy (missing patch).
A patch that tought _sqlite3.py where to find sqlite3.h and sqlite3.so was
not added with the previous commit.

Approved by:	eadler,bdrewery (mentors, implicit)
2013-05-21 15:40:54 +00:00

11 lines
379 B
Python

--- lib/pypy2.0/lib_pypy/_sqlite3.py.orig 2013-05-18 16:20:00.000000000 +0200
+++ lib/pypy2.0/lib_pypy/_sqlite3.py 2013-05-18 16:21:06.000000000 +0200
@@ -270,7 +270,7 @@
_lib = _ffi.verify("""
#include <sqlite3.h>
-""", libraries=['sqlite3']
+""", libraries=['sqlite3'], include_dirs=['/usr/local/include'], library_dirs=['/usr/local/lib']
)
exported_sqlite_symbols = [