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