Module: kamailio
Branch: master
Commit: d762848d4f71014a6c6b6693b44403324a8edd15
URL:
https://github.com/kamailio/kamailio/commit/d762848d4f71014a6c6b6693b444033…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-08-06T17:33:41+02:00
app_python3: Makefile - get all ldflags for linking
---
Modified: src/modules/app_python3/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/d762848d4f71014a6c6b6693b444033…
Patch:
https://github.com/kamailio/kamailio/commit/d762848d4f71014a6c6b6693b444033…
---
diff --git a/src/modules/app_python3/Makefile b/src/modules/app_python3/Makefile
index b8e65cbef9..1c9ff1c6b6 100644
--- a/src/modules/app_python3/Makefile
+++ b/src/modules/app_python3/Makefile
@@ -16,7 +16,7 @@ PYTHON3_LIBDIR=${shell ${PYTHON3} -c "import
distutils.sysconfig;print(distutils
PYTHON3_LDFLAGS=${shell ${PYTHON3} -c "import
distutils.sysconfig;print(distutils.sysconfig.get_config_var('LINKFORSHARED'))"}
PYTHON3_INCDIR=${shell ${PYTHON3} -c "import
distutils.sysconfig;print(distutils.sysconfig.get_python_inc())"}
-LIBS=${shell ${PYTHON3}-config --libs}
+LIBS=${shell ${PYTHON3}-config --ldflags}
ifeq ($(OS), freebsd)
LIBS+=-pthread