浏览代码

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

Daniel-Constantin Mierla 5 年之前
父节点
当前提交
392688fc75
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/app_python3/Makefile

+ 1 - 1
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}