You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/pgadmin4/files/pgadmin4-4.17-python-3.8.patch

13 lines
595 B

diff -uprb pgadmin4-4.13.orig/runtime/pgAdmin4.pro pgadmin4-4.13/runtime/pgAdmin4.pro
--- a/runtime/pgAdmin4.pro 2019-10-16 10:07:59.000000000 +0300
+++ b/runtime/pgAdmin4.pro 2019-11-05 18:33:18.524516120 +0200
@@ -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_LIBS=`$$PYTHON_CONFIG --libs --embed` || PYTHON_LIBS=`$$PYTHON_CONFIG --libs`; echo $PYTHON_LIBS)
contains( LIBS, -lpython2.* ) {
DEFINES += PYTHON2