diff options
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/adding-packages-gettext.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/manual/adding-packages-gettext.txt b/docs/manual/adding-packages-gettext.txt index 1ed834e15..e0df1a412 100644 --- a/docs/manual/adding-packages-gettext.txt +++ b/docs/manual/adding-packages-gettext.txt @@ -27,18 +27,14 @@ Therefore, Buildroot defines two configuration options: Therefore, packages that unconditionally need gettext should: -* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT+ and possibly - +select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT+, if libintl is - also needed +* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT+ * Use +$(if $(BR2_NEEDS_GETTEXT),gettext)+ in the package +DEPENDENCIES+ variable Packages that need gettext only when locale support is enabled should: -* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE+ and - possibly +select BR2_PACKAGE_LIBINTL if - BR2_NEEDS_GETTEXT_IF_LOCALE+, if libintl is also needed +* Use +select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE+ * Use +$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)+ in the package +DEPENDENCIES+ variable |