[sr-dev] git:master:392688fc: app_python3: Makefile - suppress warning if --embed is not supported by python3-config

Daniel-Constantin Mierla miconda at gmail.com
Sun Apr 12 12:08:20 CEST 2020


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-04-12T12:06:52+02:00

app_python3: Makefile - suppress warning if --embed is not supported by python3-config

---

Modified: src/modules/app_python3/Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/392688fc756a97f65c2433bb6af7adedca4e0abf.diff
Patch: https://github.com/kamailio/kamailio/commit/392688fc756a97f65c2433bb6af7adedca4e0abf.patch

---

diff --git a/src/modules/app_python3/Makefile b/src/modules/app_python3/Makefile
index d31cd6ab10..3594f104c8 100644
--- a/src/modules/app_python3/Makefile
+++ b/src/modules/app_python3/Makefile
@@ -12,7 +12,7 @@ NAME=app_python3.so
 PYTHON3?=python3
 
 LIBS=${shell \
-	tmp_py3_libs=$$(${PYTHON3}-config --ldflags --embed) || \
+	tmp_py3_libs=$$(${PYTHON3}-config --ldflags --embed 2>/dev/null) || \
 	tmp_py3_libs=$$(${PYTHON3}-config --ldflags); \
 	echo $$tmp_py3_libs}
 




More information about the sr-dev mailing list