mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +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,6 +1,5 @@
|
||||
config BR2_PACKAGE_GETTEXT
|
||||
bool "gettext"
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
The GNU `gettext' utilities are a set of tools that provide a
|
||||
framework to help other GNU packages produce multi-lingual
|
||||
|
||||
@@ -120,7 +120,7 @@ $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY)
|
||||
autopoint envsubst gettext.sh gettextize msg* ?gettext)
|
||||
touch -c $@
|
||||
|
||||
gettext: uclibc pkgconfig $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
|
||||
gettext: uclibc host-pkgconfig $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
|
||||
|
||||
gettext-unpacked: $(GETTEXT_DIR)/.unpacked
|
||||
|
||||
|
||||
Reference in New Issue
Block a user