Lucretia writes: Do you think we should raise an issue on github for this discussion? (to take it off the group) > I have it building on Mac OS X as a static lib, but the options are > controlled from the makefile. When I built it as a dynamic library, I got (with some builds) an ACCVIO during elaboration, which I took to be down to failing to initialize libsdlada.dylib (it's not built as an SAL). > To make it consistent, I'd either have to remove the sdl2-config call > for other all other OSes and get the flags from the script and copy > them across, hoping they are correct. Or, the sdl2-config needs to be > callable and expandable from the gpr file, which I don't think is > possible. > > So, before I push the changes, can anyone tell me if this is possible? As a possible alternative, the attached makefile fragment works out whether you're on Darwin or not, so you could decide in the makefile how to get the options & then pass them through to the gpr.