[Buildroot] [git commit branch/2019.02.x] package/json-glib: fix NLS build

Peter Korsgaard peter at korsgaard.com
Wed Jul 31 19:47:15 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=46857255eaf54a49f74bc50bf6aa32d2754a53fa
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

Fixes:
 - http://autobuild.buildroot.org/results/a9515ce8acb2d13532d0d43f8f61fa890a4705b3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
[Arnout: put LDFLAGS after DEPENDENCIES]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

(cherry picked from commit ff26958c3dfea3c1725f9783b8d3fe15348823d2)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/json-glib/json-glib.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk
index 77c0c45323..a312198bba 100644
--- a/package/json-glib/json-glib.mk
+++ b/package/json-glib/json-glib.mk
@@ -17,4 +17,6 @@ JSON_GLIB_DEPENDENCIES = \
 	host-pkgconf \
 	libglib2
 
+JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
+
 $(eval $(meson-package))


More information about the buildroot mailing list