Commit 53e8c9b2 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix link error with multiply used edaapl.cpp

parent 593aa2dc
...@@ -1162,7 +1162,7 @@ bool EDA_APP::LockFile( const wxString& fileName ) ...@@ -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() ...@@ -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 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment