Skip to content

Commit

Permalink
Verbose way to select the libmiral when we cannot know the .soname
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Jan 19, 2024
1 parent 355caa7 commit 0aa2890
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,16 @@ parts:
- libapparmor-dev
- libfreetype6-dev
stage-packages:
- libmiral6
- libboost-filesystem1.74.0
- libboost-iostreams1.74.0

# Stage libmiral<n> indirectly as we cannot (since core22) do `try:/else:`
- libmiral-dev
prime:
# Do not prime the `-dev` part of libmiral-dev, we don't need it (just the libmiral<n> dependency)
- -usr/include
- -usr/lib/*/pkgconfig
- -usr/lib/*/libmir*.so

assets:
plugin: nil
stage-packages:
Expand Down

0 comments on commit 0aa2890

Please sign in to comment.