better handling of shared/static build options, especially with wx
Authored by: andy_rushton 2013-07-12
Parent: [r74]
Child: [r76]