fix link error with multiply used edaapl.cpp
This commit is contained in:
parent
593aa2dc12
commit
53e8c9b2c2
|
@ -1162,7 +1162,7 @@ bool EDA_APP::LockFile( const wxString& fileName )
|
||||||
bool EDA_APP::SetFootprintLibTablePath()
|
bool EDA_APP::SetFootprintLibTablePath()
|
||||||
{
|
{
|
||||||
wxString path;
|
wxString path;
|
||||||
wxString kisysmod = FP_LIB_TABLE::GlobalPathEnvVariableName();
|
wxString kisysmod( wxT( KISYSMOD ) );
|
||||||
|
|
||||||
// Set the KISYSMOD environment variable for the current process if it is not already
|
// Set the KISYSMOD environment variable for the current process if it is not already
|
||||||
// defined in the user's environment. This is required to expand the global footprint
|
// defined in the user's environment. This is required to expand the global footprint
|
||||||
|
|
|
@ -736,7 +736,7 @@ const wxString FP_LIB_TABLE::ProjectPathEnvVariableName()
|
||||||
|
|
||||||
const wxString FP_LIB_TABLE::GlobalPathEnvVariableName()
|
const wxString FP_LIB_TABLE::GlobalPathEnvVariableName()
|
||||||
{
|
{
|
||||||
return wxT( "KISYSMOD" );
|
return wxT( KISYSMOD );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
#include <io_mgr.h>
|
#include <io_mgr.h>
|
||||||
|
|
||||||
|
|
||||||
|
#define KISYSMOD "KISYSMOD"
|
||||||
|
|
||||||
class wxFileName;
|
class wxFileName;
|
||||||
class OUTPUTFORMATTER;
|
class OUTPUTFORMATTER;
|
||||||
class MODULE;
|
class MODULE;
|
||||||
|
|
Loading…
Reference in New Issue