package/iputils: fix build without NLS
PATCH 1/1 package/iputils: fix build without NLS
Set USE_GETTEXT depending on BR2_SYSTEM_ENABLE_NLS as otherwise build will fail if gettext is not installed on host because USE_GETTEXT is enabled by default since version 20190324 and
https://github.com/iputils/iputils/commit/2615a527209bb408b54028ef6405075cadd4541b
Fixes:
- http://autobuild.buildroot.org/results/127823ddbd75336abc0fe0e9bd11e4f5249df87c
--- package/iputils/iputils.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/iputils/iputils.mk +6 -0
@@ -49,6 +49,12 @@ IPUTILS_CONF_OPTS += -DUSE_CRYPTO=none IPUTILS_CONF_OPTS += -DBUILD_NINFOD=false endif +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +IPUTILS_CONF_OPTS += -DUSE_GETTEXT=true +else +IPUTILS_CONF_OPTS += -DUSE_GETTEXT=false +endif + IPUTILS_CONF_OPTS += -DBUILD_TRACEROUTE6=true # XSL Stylesheets for DocBook 5 not packaged for buildroot
Signature · 1 line
2.20.1
PATCH 1/1 package/iputils: fix build without NLS
Hi Fabrice,
Quoted 9 lines
Set
USE_GETTEXTdepending onBR2_SYSTEM_ENABLE_NLSas otherwise build will fail if gettext is not installed on host becauseUSE_GETTEXTis enabled by default since version 20190324 and
https://github.com/iputils/iputils/commit/2615a527209bb408b54028ef6405075cadd4541bFixes:
- http://autobuild.buildroot.org/results/127823ddbd75336abc0fe0e9bd11e4f5249df87cSigned-off-by Fabrice Fontaine <[email protected]>
Thanks for fixing it!
Hope that's the last one needed due changing build system to meson :).
Kind regards,
Petr
Thomas Petazzoni
AppliedPATCH 1/1 package/iputils: fix build without NLS
In reply to Fabrice FontaineQuoted 5 lines · On Fri, 19 Jul 2019 23:11:52 +0200 Fabrice Fontaine…
Set
USE_GETTEXTdepending onBR2_SYSTEM_ENABLE_NLSas otherwise build will fail if gettext is not installed on host becauseUSE_GETTEXTis enabled by default since version 20190324 and
https://github.com/iputils/iputils/commit/2615a527209bb408b54028ef6405075cadd4541b
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/127823ddbd75336abc0fe0e9bd11e4f5249df87cSigned-off-by Fabrice Fontaine <[email protected]>--- package/iputils/iputils.mk | 6 ++++++ 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com