On 16/09/16 07:05, Spencer wrote:
> I never like hard coded paths.  Can YAML files somehow configure what C pre 
> processor definitions we get during compilation?  An if-def could be used in 
> places where the program is to locate resources and so use either $SNAP 
> prepended or something else when not run as a snap.

Yes, but this does mean patching the upstream code to be aware of those
environment settings.


Snapcraft mailing list
Modify settings or unsubscribe at: 

Reply via email to