[sr-dev] git:master:d762848d: app_python3: Makefile - get all ldflags for linking

Daniel-Constantin Mierla miconda at gmail.com
Tue Aug 6 17:34:06 CEST 2019


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/d762848d4f71014a6c6b6693b44403324a8edd15.diff
Patch: https://github.com/kamailio/kamailio/commit/d762848d4f71014a6c6b6693b44403324a8edd15.patch

---

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




More information about the sr-dev mailing list