ubuntu-app-platform updated to Qt 5.6.2

Leo Arias leo.arias at canonical.com
Tue Jan 31 15:56:06 UTC 2017


On Tue, Jan 31, 2017 at 9:21 AM, Olivier Tilloy
<olivier.tilloy at canonical.com> wrote:
> This is a bit tricky: when packaging a Qt application that uses the
> platform snap, snapcraft will use ldd to crawl the app’s binaries and
> will automagically add the libraries that it depends on to the
> resulting snap (those libs are taken from the host system).
>
> There is a way around that, but it’s rather counter-intuitive and
> error-prone: add the packages containing those libs to the list of
> stage-packages, then explicitly exclude them from the resulting snap
> using the prime/snap keyword. You won’t be able to exclude them if you
> didn’t include them through the stage packages first.

Isn't this what Kyle fixed by adding build-attributes: [no-system-libraries] ?

http://snapcraft.io/docs/build-snaps/syntax#parts




More information about the Snapcraft mailing list