Fix the runtime build with Python 3.8 on Linux

This commit is contained in:
Dave Page 2020-04-29 13:55:53 +01:00
parent fe264aafa7
commit 3138f36e05

View File

@ -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