mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets with host-. At the same time add pkgconfig for the target (E.G. for development) and let BR2_PACKAGE_PKGCONFIG control that package. Notice: all defconfigs in the tree have been updated, but make sure to disable the pkgconfig package (unless you want it) if you use an external config, otherwise you'll end up with pkgconfig and glib2 in the target.
This commit is contained in:
@@ -3,7 +3,6 @@ config BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_GETTEXT
|
||||
select BR2_PACKAGE_LIBINTL
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
Low-level core library that forms the basis of GTK+ and GNOME.
|
||||
Requires libglib2 (-dev) on the host.
|
||||
|
||||
@@ -51,7 +51,7 @@ LIBGLIB2_CONF_ENV = \
|
||||
LIBGLIB2_CONF_OPT = --enable-shared \
|
||||
--enable-static
|
||||
|
||||
LIBGLIB2_DEPENDENCIES = uclibc gettext libintl pkgconfig host-libglib2
|
||||
LIBGLIB2_DEPENDENCIES = uclibc gettext libintl host-pkgconfig host-libglib2
|
||||
|
||||
ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
LIBGLIB2_DEPENDENCIES+=libiconv
|
||||
|
||||
Reference in New Issue
Block a user