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. Mark -- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
