pcbnew: fix not build in linux
This commit is contained in:
parent
053458b81a
commit
845638fc63
|
@ -286,7 +286,7 @@ static bool scriptingSetup()
|
||||||
|
|
||||||
pypath = Pgm().GetExecutablePath() + wxT( "../lib/python2.7/dist-packages" );
|
pypath = Pgm().GetExecutablePath() + wxT( "../lib/python2.7/dist-packages" );
|
||||||
|
|
||||||
if( !wxIsEmpty( wxGetenv( wxT( "PYTHONPATH" ) ) )
|
if( !wxIsEmpty( wxGetenv( wxT( "PYTHONPATH" ) ) ) )
|
||||||
pypath = wxString( wxGetenv( wxT( "PYTHONPATH" ) ) ) + wxT( ":" ) + pypath;
|
pypath = wxString( wxGetenv( wxT( "PYTHONPATH" ) ) ) + wxT( ":" ) + pypath;
|
||||||
|
|
||||||
wxSetEnv( wxT( "PYTHONPATH" ), pypath );
|
wxSetEnv( wxT( "PYTHONPATH" ), pypath );
|
||||||
|
|
Loading…
Reference in New Issue