Преглед изворни кода

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
 PYTHON3?=python3
 
 
 LIBS=${shell \
 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); \
 	tmp_py3_libs=$$(${PYTHON3}-config --ldflags); \
 	echo $$tmp_py3_libs}
 	echo $$tmp_py3_libs}