[Buildroot] [git commit branch/2020.02.x] package/polkit: fix build with NLS
Peter Korsgaard
peter at korsgaard.com
Sat Mar 21 21:52:18 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=1c2ec3ece2edc1162e636f318ff6e2dfea775377
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x
Fixes:
- http://autobuild.buildroot.org/results/258b734e14f8f31355eba1ddb734213bc3f29591
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 0c08a04e78eb64679482222dee5f7c2f777c54af)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/polkit/polkit.mk | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
index efd788a05c..4e7cda943c 100644
--- a/package/polkit/polkit.mk
+++ b/package/polkit/polkit.mk
@@ -11,10 +11,13 @@ POLKIT_LICENSE_FILES = COPYING
POLKIT_INSTALL_STAGING = YES
-POLKIT_DEPENDENCIES = libglib2 host-intltool expat spidermonkey
+POLKIT_DEPENDENCIES = \
+ libglib2 host-intltool expat spidermonkey $(TARGET_NLS_DEPENDENCIES)
# spidermonkey needs C++11
-POLKIT_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
+POLKIT_CONF_ENV = \
+ CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \
+ LIBS=$(TARGET_NLS_LIBS)
POLKIT_CONF_OPTS = \
--with-os-type=unknown \
More information about the buildroot
mailing list