[sr-dev] git:master:31498ca5: app_python: fix python call in Makefile (python -> python2), reported by GH #1645

Henning Westerholt hw at kamailio.org
Sun Sep 16 10:28:54 CEST 2018


Module: kamailio
Branch: master
Commit: 31498ca574c931f1a7e12619e725c8b151a3e7bd
URL: https://github.com/kamailio/kamailio/commit/31498ca574c931f1a7e12619e725c8b151a3e7bd

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2018-09-16T10:26:58+02:00

app_python: fix python call in Makefile (python -> python2), reported by GH #1645

---

Modified: src/modules/app_python/Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/31498ca574c931f1a7e12619e725c8b151a3e7bd.diff
Patch: https://github.com/kamailio/kamailio/commit/31498ca574c931f1a7e12619e725c8b151a3e7bd.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