python-3.8.patch 624 B

12345678910111213
  1. diff -uprb pgadmin4-4.13.orig/runtime/pgAdmin4.pro pgadmin4-4.13/runtime/pgAdmin4.pro
  2. --- pgadmin4-4.13.orig/runtime/pgAdmin4.pro 2019-10-16 10:07:59.000000000 +0300
  3. +++ pgadmin4-4.13/runtime/pgAdmin4.pro 2019-11-05 18:33:18.524516120 +0200
  4. @@ -75,7 +75,7 @@ else {
  5. QMAKE_CXXFLAGS += $$system($$PYTHON_CONFIG --includes)
  6. QMAKE_LFLAGS += $$system($$PYTHON_CONFIG --ldflags)
  7. - LIBS += $$system($$PYTHON_CONFIG --libs)
  8. + LIBS += $$system(PYTHON_LIBS=`$$PYTHON_CONFIG --libs --embed` || PYTHON_LIBS=`$$PYTHON_CONFIG --libs`; echo $PYTHON_LIBS)
  9. contains( LIBS, -lpython2.* ) {
  10. DEFINES += PYTHON2