From 505956d1faffe2ed1f5d88169eade47c86be5eb7 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 29 Apr 2020 14:29:47 +0100 Subject: [PATCH] OK, another attempt at this as it fails on non-Linux non-Python 3.8. --- runtime/pgAdmin4.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/pgAdmin4.pro b/runtime/pgAdmin4.pro index b05acac4f..7dd50ab92 100644 --- a/runtime/pgAdmin4.pro +++ b/runtime/pgAdmin4.pro @@ -75,7 +75,7 @@ else { QMAKE_CXXFLAGS += $$system($$PYTHON_CONFIG --includes) QMAKE_LFLAGS += $$system($$PYTHON_CONFIG --ldflags) - LIBS += $$system($$PYTHON_CONFIG --libs --embed || $$PYTHON_CONFIG --libs) + LIBS += $$system($$PYTHON_CONFIG --libs --embed 2> /dev/null || $$PYTHON_CONFIG --libs) contains( LIBS, -lpython2.* ) { DEFINES += PYTHON2