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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@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}
 


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to