Fix MSP Debug Stack dynamic library name on macOS
On macOS, a dynamic loadable library has .dylib suffix.
This commit is contained in:
parent
7c41acd418
commit
c9af50666d
|
@ -28,6 +28,9 @@ const struct tilib_api_table *tilib_api;
|
|||
#if defined(__Windows__) || defined(__CYGWIN__)
|
||||
static const char tilib_filename[] = "MSP430.DLL";
|
||||
#define TIDLL __stdcall
|
||||
#elif defined(__APPLE__)
|
||||
static const char tilib_filename[] = "libmsp430.dylib";
|
||||
#define TIDLL
|
||||
#else
|
||||
static const char tilib_filename[] = "libmsp430.so";
|
||||
#define TIDLL
|
||||
|
|
Loading…
Reference in New Issue