Windows being one of those "certain platforms". My install of SDL2 left
files on:
c:\SDL2-2.0.3\include

Have you tried to use a "platforms" override in "external_dependencies" ?
Something like:
external_dependencies = {
platforms = {
windows = {
LIBSDL2 = {
      header = "SDL_scancode.h"
    }
}
},
    LIBSDL2 = {
      header = "SDL2/SDL_scancode.h"
    }
 }

Where you have default values for all platforms but Windows.

And, if you need to override further, you can provide LIBSDL2_INC,
LIBSDL2_LIB (and a third one I can't recall) in the command line.

"I think" it works this way :D

Regards,
Ignacio
------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to