Skip to content

Commit

Permalink
svg: include -lmount if found
Browse files Browse the repository at this point in the history
This is needed for gio-2 which is implicitly used for SVG.
  • Loading branch information
ThomasAdam committed Oct 4, 2024
1 parent daf2501 commit 9ae7176
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,13 @@ if librsvg.found()
+ ' to build SVG support.',
)
else
# On Alpine Linux (and possibly other distros), for gio to compile,
# -lmount needs to be included. If we find it, use it.
libmount = dependency('mount', required: false)
if libmount.found()
svg_deps += libmount
summary_depvals += {'mount': libmount}
endif
all_found_deps += svg_deps
endif
endif
Expand Down

0 comments on commit 9ae7176

Please sign in to comment.