summaryrefslogtreecommitdiff
path: root/python-install.patch
blob: 2bac21632be449c4f2984301682c8c5ad0640b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- stfl-0.22/python/Makefile.snippet~	2009-06-18 10:27:16.000000000 +0200
+++ stfl-0.22/python/Makefile.snippet	2015-12-30 00:36:56.436516831 +0100
@@ -19,7 +19,7 @@
 #
 
 PYTHON_VERSION = $(shell python -V 2>&1 | cut -f2 -d' ' | cut -f1-2 -d'.')
-PYTHON_SITEARCH = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
+PYTHON_SITEARCH = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True, prefix='/usr')")
 
 all: python/_stfl.so python/stfl.py python/stfl.pyc