diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-18 19:19:10 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-18 19:19:10 +0000 |
commit | 77754571b2f327636ce0072cfabc9ce0c9a6ad86 (patch) | |
tree | 56fc2d3552653caaa20ee7577b1a04375f80bf28 /package/libglib2 | |
parent | 344d59d788d697f4f6704dd920cad615318e47be (diff) | |
download | buildroot-novena-77754571b2f327636ce0072cfabc9ce0c9a6ad86.tar.gz buildroot-novena-77754571b2f327636ce0072cfabc9ce0c9a6ad86.zip |
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.
Diffstat (limited to 'package/libglib2')
-rw-r--r-- | package/libglib2/Config.in | 1 | ||||
-rw-r--r-- | package/libglib2/libglib2.mk | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in index 191370136..30f47dd85 100644 --- a/package/libglib2/Config.in +++ b/package/libglib2/Config.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. diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index 50dc06816..6b4aa8811 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -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 |