[Buildroot] [PATCH 2/2] package/libglib2: Do not depend on util-linux
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Sep 17 20:02:16 UTC 2019
On Mon, 16 Sep 2019 12:16:05 -0700
aduskett at gmail.com wrote:
> From: Adam Duskett <Aduskett at gmail.com>
>
> libglib2 needs util-linux only for libmount, which is a configuration option.
> Instead, check if util-linux-libmount is selected, and if so, set the option
> to true.
>
> Signed-off-by: Adam Duskett <Aduskett at gmail.com>
> ---
> package/libglib2/Config.in | 2 --
> package/libglib2/libglib2.mk | 10 +++++++++-
> 2 files changed, 9 insertions(+), 3 deletions(-)
Applied to master, thanks. This may cause problems for people who
currently needed libmount, but do not have anything else in their
configuration that selects util-linux libmount option. Their next
Buildroot build will silently no longer have libmount support.
However, we don't really have a good way to handle such dependencies
that used to be mandatory and become optional, so there's not much we
can do about it.
We might however see a few build issues from reverse dependencies of
libglib2 that do need libmount. Such reverse dependencies will have to
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT by themselves.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list