diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2016-08-25 22:13:35 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-26 11:02:15 +0200 |
| commit | e2bd1ce7890741a92a6a6353a3832e41d3bc9f70 (patch) | |
| tree | 351032b0ba238edecbc75bf4bfef811203f32626 /package/libgpg-error/libgpg-error.mk | |
| parent | 397962ce1737ba0f920ffc1d3a3ea2bc08b28270 (diff) | |
| download | buildroot-e2bd1ce7890741a92a6a6353a3832e41d3bc9f70.tar.gz buildroot-e2bd1ce7890741a92a6a6353a3832e41d3bc9f70.zip | |
package/libgpg-error: optionally depends on gettext
configure.ac has AM_GNU_GETTEXT(), which will enable i18n if a gettext
library is found. For uClibc, it is found if the gettext package has
been built, and it will add -lintl to the link flags. For musl and
glibc, it is always found, in libc itself so nothing is added to the
link flags.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Matthew Weber <matt@thewebers.ws>
Tested-by: Matthew Weber <matt@thewebers.ws>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libgpg-error/libgpg-error.mk')
| -rw-r--r-- | package/libgpg-error/libgpg-error.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk index e081b365d9..1945673bcf 100644 --- a/package/libgpg-error/libgpg-error.mk +++ b/package/libgpg-error/libgpg-error.mk @@ -11,6 +11,10 @@ LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB LIBGPG_ERROR_INSTALL_STAGING = YES LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config +ifeq ($(BR2_PACKAGE_GETTEXT),y) +LIBGPG_ERROR_DEPENDENCIES += gettext +endif + define LIBGPG_ERROR_FIX_CROSS_COMPILATION cd $(@D)/src/syscfg && \ ln -s lock-obj-pub.$(call qstrip, $(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG)).h \ |

