mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03: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:
@@ -1,7 +1,6 @@
|
||||
config BR2_PACKAGE_LIBGLADE
|
||||
bool "libglade"
|
||||
depends on BR2_PACKAGE_LIBGTK2
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_ATK
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
|
||||
@@ -7,7 +7,7 @@ LIBGLADE_VERSION = 2.6.3
|
||||
LIBGLADE_SOURCE = libglade-$(LIBGLADE_VERSION).tar.bz2
|
||||
LIBGLADE_SITE = http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/
|
||||
LIBGLADE_INSTALL_STAGING = YES
|
||||
LIBGLADE_DEPENDENCIES = pkgconfig libglib2 libgtk2 atk libxml2
|
||||
LIBGLADE_DEPENDENCIES = host-pkgconfig libglib2 libgtk2 atk libxml2
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,libglade))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user