Module: kamailio
Branch: 5.1
Commit: efb843e1de19b01b36363d4f0a5b345520cf166c
URL:
https://github.com/kamailio/kamailio/commit/efb843e1de19b01b36363d4f0a5b345…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-09-16T10:33:32+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/efb843e1de19b01b36363d4f0a5b345…
Patch:
https://github.com/kamailio/kamailio/commit/efb843e1de19b01b36363d4f0a5b345…
---
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')"}