kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23467
[PATCH 3/8] Use PATH to search for shared libraries on Windows
This is appropriate for all Windows targets, not just MSYS.
---
include/kiway.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/kiway.h b/include/kiway.h
index 406ab91..347c0bb 100644
--- a/include/kiway.h
+++ b/include/kiway.h
@@ -118,8 +118,10 @@ as such! As such, it is OK to use UTF8 characters:
#define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" )
#elif defined(__WXMAC__)
#define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )
-#elif defined(__MINGW32__)
+#elif defined(_WIN32)
#define LIB_ENV_VAR wxT( "PATH" )
+#else
+ #error Platform support missing
#endif
Follow ups
References