forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/7.0'
Conflicts: src/plugins/webassembly/webassemblyrunconfiguration.cpp src/tools/processlauncher/launchersockethandler.cpp Change-Id: Iab052af98013aa59282c16f22ae6e9ecb32f50c4
This commit is contained in:
@@ -290,6 +290,13 @@ bool DebuggerItem::addAndroidLldbPythonEnv(const Utils::FilePath &lldbCmd, Utils
|
||||
if (pythonBinDir.exists()) {
|
||||
env.set("PYTHONHOME", pythonDir.toUserOutput());
|
||||
env.prependOrSetPath(pythonBinDir);
|
||||
|
||||
if (HostOsInfo::isAnyUnixHost()) {
|
||||
const FilePath pythonLibDir = pythonDir.pathAppended("lib");
|
||||
if (pythonLibDir.exists())
|
||||
env.prependOrSet("LD_LIBRARY_PATH", pythonLibDir.toString());
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user