Remove msys2 search paths for ngspice under msvc

This commit is contained in:
Marek Roszko 2021-02-13 20:08:07 -05:00
parent 55db1aa5f5
commit 1608282a57
1 changed files with 4 additions and 0 deletions

View File

@ -333,7 +333,11 @@ void NGSPICE::init_dll()
// Extra effort to find libngspice
wxFileName dllFile( "", NGSPICE_DLL_FILE );
#if defined(__WINDOWS__)
#if defined( _MSC_VER )
const vector<string> dllPaths = { "" };
#else
const vector<string> dllPaths = { "", "/mingw64/bin", "/mingw32/bin" };
#endif
#elif defined(__WXMAC__)
const vector<string> dllPaths = {
GetOSXKicadUserDataDir().ToStdString() + "/PlugIns/ngspice",