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