kamailio-5.x: add app_python3 519/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 10 Apr 2020 12:10:24 +0000 (14:10 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Wed, 22 Apr 2020 16:29:43 +0000 (18:29 +0200)
commitc09085b0769a46fa925fd87f559e40d82a6c341c
tree1d25984d17e0140a4334b0014d9e965b48934210
parent60ea8ff6763f4fe8b5d6482b81be6ff95e3a276a
kamailio-5.x: add app_python3

Adds the Python 3 module. Patch is required because otherwise the
module's Makefile tries to get the includes from host python.

The patch also adds "--embed" to the python-config call that discovers
LDFLAGS as otherwise the python lib is not linked into the module.

Patch has been accepted upstream already.

Adding PYTHON3 to MAKE_VARS tells the Makefile which python to use.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/kamailio-5.x/Makefile
net/kamailio-5.x/patches/150-python3-cross-compile.patch [new file with mode: 0644]