[sr-dev] git:5.0:22f1109f: app_python: fix python call in Makefile (python -> python2), reported by GH #1645
Henning Westerholt
hw at kamailio.org
Sun Sep 16 10:33:34 CEST 2018
Module: kamailio
Branch: 5.0
Commit: 22f1109fccc8fc39181d5938ec425386aa62fb9f
URL: https://github.com/kamailio/kamailio/commit/22f1109fccc8fc39181d5938ec425386aa62fb9f
Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2018-09-16T10:33:16+02:00
app_python: fix python call in Makefile (python -> python2), reported by GH #1645
(cherry picked from commit 31498ca574c931f1a7e12619e725c8b151a3e7bd)
---
Modified: src/modules/app_python/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/22f1109fccc8fc39181d5938ec425386aa62fb9f.diff
Patch: https://github.com/kamailio/kamailio/commit/22f1109fccc8fc39181d5938ec425386aa62fb9f.patch
---
diff --git a/src/modules/app_python/Makefile b/src/modules/app_python/Makefile
index d1854c12e4..c9ad254c3b 100644
--- a/src/modules/app_python/Makefile
+++ b/src/modules/app_python/Makefile
@@ -9,7 +9,7 @@ NAME=app_python.so
# the following to point to the correct instance. Module has been tested
# to work with 2.6 and 2.5. Python 2.4 has been only confirmed to compile,
# but no testing has been done with that.
-PYTHON?=python
+PYTHON?=python2
PYTHON_VERSION=${shell ${PYTHON} -c "import distutils.sysconfig;print distutils.sysconfig.get_config_var('VERSION')"}
PYTHON_LIBDIR=${shell ${PYTHON} -c "import distutils.sysconfig;print distutils.sysconfig.get_config_var('LIBDIR')"}
More information about the sr-dev
mailing list