From 3138f36e05ba843d1c386fc59d597049fb82446d Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 29 Apr 2020 13:55:53 +0100 Subject: [PATCH] Fix the runtime build with Python 3.8 on Linux --- runtime/pgAdmin4.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/pgAdmin4.pro b/runtime/pgAdmin4.pro index 78675c68f..a38f22561 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) + LIBS += $$system($$PYTHON_CONFIG --libs --embed || $$PYTHON_CONFIG --libs)) contains( LIBS, -lpython2.* ) { DEFINES += PYTHON2