If FLITE_STATIC is defined at build-time, GLOBALVARDEF decorator will not use __declspec(dllexport) (on Windows).
This allows using a static flite on Windows (other platforms don't have this problem).
The FLITE_STATIC define must be set manually by whoever wants to use flite in this way.
This PR introduces an
FLITE_STATIC
define.If
FLITE_STATIC
is defined at build-time,GLOBALVARDEF
decorator will not use__declspec(dllexport)
(on Windows). This allows using a static flite on Windows (other platforms don't have this problem).The
FLITE_STATIC
define must be set manually by whoever wants to use flite in this way.Closes: https://github.com/festvox/flite/issues/83