Commit 65241409 authored by Romain Naour's avatar Romain Naour Committed by Thomas Petazzoni
Browse files

package/rpm: add gettext dependency



rpm check for libintl library if BR2_NEEDS_GETTEXT_IF_LOCALE is set.

checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl

But the dependency on gettext package is missing to ensures
reproducible builds.

Signed-off-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 5b986015
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ config BR2_PACKAGE_RPM
	depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_BEECRYPT
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
	select BR2_PACKAGE_NEON
	select BR2_PACKAGE_NEON_SSL
	select BR2_PACKAGE_NEON_XML
+4 −0
Original line number Diff line number Diff line
@@ -26,6 +26,10 @@ RPM_CONF_OPTS = \
	--with-libbeecrypt=$(STAGING_DIR) \
	--with-popt=$(STAGING_DIR)

ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
RPM_DEPENDENCIES += gettext
endif

ifeq ($(BR2_PACKAGE_PCRE),y)
RPM_DEPENDENCIES += pcre
RPM_CONF_OPTS += --with-pcre=external