Skip to contentSkip to conversation

package/polkit: fix build with NLS

PATCH New Fabrice Fontaine 3 participants 3 messages Mar 17, 2020 – Mar 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/polkit: fix build with NLS

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

---
 package/polkit/polkit.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/polkit/polkit.mk +5 -2
index efd788a05c..4e7cda943c 100644
@@ -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 \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/polkit: fix build with NLS

Quoted 7 lines · On Tue, 17 Mar 2020 22:03:53 +0100 Fabrice Fontaine…

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

---
 package/polkit/polkit.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com