app_python3: Makefile - suppress warning if --embed is not supported by python3-config
authorDaniel-Constantin Mierla <miconda@gmail.com>
Sun, 12 Apr 2020 10:06:52 +0000 (12:06 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Sun, 12 Apr 2020 10:06:52 +0000 (12:06 +0200)
src/modules/app_python3/Makefile

index d31cd6a..3594f10 100644 (file)
@@ -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}