How to use gendynapi.pl?

I’m trying to compile SDL2 with minimal subsystems and I would prefer to use gendynapi.pl instead of changing SDL_dynapi_procs.h by hand to make it compile. But I have no clue on how to use it, it gives me “Use of uninitialized value in pattern match (m//) at ./dendynapi.pl line 53”

I would probably just edit src/dynapi/SDL_dynapi.h and change this…

 #else   /* everyone else. */
 #define SDL_DYNAMIC_API 1

…to be zero.

–ryan.On 06/04/2014 07:11 AM, AlexRou wrote:

I’m trying to compile SDL2 with minimal subsystems and I would prefer to
use gendynapi.pl instead of changing SDL_dynapi_procs.h by hand to make
it compile. But I have no clue on how to use it, it gives me “Use of
uninitialized value in pattern match (m//) at ./dendynapi.pl line 53”