mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Remove PYTHONPATH from the environment on Windows
This make sure to use the the modules distributed with LyX, avoiding reconfigure failures.
This commit is contained in:
parent
472bdf5910
commit
ad0c9a548b
@ -158,6 +158,11 @@ void init(int argc, char ** argv[])
|
||||
*/
|
||||
|
||||
|
||||
// Remove PYTHONPATH from the environment as it may point to an
|
||||
// external python installation and cause reconfigure failures.
|
||||
unsetEnv("PYTHONPATH");
|
||||
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1900)
|
||||
// Removing an argument from argv leads to an assertion on Windows
|
||||
// when compiling with MSVC 2015 in debug mode (see bug #10440).
|
||||
|
Loading…
Reference in New Issue
Block a user