pypy: give hints about sqlite3

This commit is contained in:
Domen Kožar 2014-08-26 12:25:51 +02:00
parent 3af5310ef4
commit 0ba31c1e6d

View File

@ -52,6 +52,9 @@ let
--replace "'/usr/include/tcl'" "'${tk}/include', '${tcl}/include'" \
--replace "linklibs=['tcl', 'tk']" "linklibs=['tcl8.5', 'tk8.5']" \
--replace "libdirs = []" "libdirs = ['${tk}/lib', '${tcl}/lib']"
substituteInPlace lib_pypy/_sqlite3.py \
--replace "libraries=['sqlite3']" "libraries=['sqlite3'], include_dirs=['${sqlite}/include'], library_dirs=['${sqlite}/lib']"
'';
setupHook = ./setup-hook.sh;