Fix MSP Debug Stack dynamic library name on macOS

On macOS, a dynamic loadable library has .dylib suffix.
This commit is contained in:
Tadashi G. Takaoka 2018-04-03 22:59:55 +09:00
vanhempi 7c41acd418
commit c9af50666d
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa

Näytä tiedosto

@ -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