package/polkit: fix build with NLS

Fixes:
 - http://autobuild.buildroot.org/results/258b734e14f8f31355eba1ddb734213bc3f29591

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0c08a04e78)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2020-03-17 22:03:53 +01:00 committed by Peter Korsgaard
parent 9231ffe10b
commit 1c2ec3ece2

View File

@ -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 \