There is no generic workaround, only specific ones for which I would need precise details on how the build takes place, the gist of it is to override the use of the include paths to core through the plugin/part options overriding what snapcraft constructs.
There is no generic workaround, only specific ones for which I would need precise details on how the build takes place, the gist of it is to override the use of the include paths to core through the plugin/part options overriding what snapcraft constructs.