Skip to contentSkip to conversation

package/postgresql: fix build with NLS

PATCH New Fabrice Fontaine 3 participants 3 messages Apr 20, 2019 – Apr 26, 2019

lore
Share & tools
lore
#0 lore raw

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

Fixes:
- http://autobuild.buildroot.org/results/0d35378b8bdcfffb0cefd264c95ca3617034559b

---
 package/postgresql/postgresql.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/postgresql/postgresql.mk +3 -1
index c7e9f526fc..8f01460109 100644
@@ -14,8 +14,10 @@ POSTGRESQL_CONFIG_SCRIPTS = pg_config
 POSTGRESQL_CONF_ENV = \
 	ac_cv_type_struct_sockaddr_in6=yes \
 	pgac_cv_snprintf_long_long_int_modifier="ll" \
-	pgac_cv_snprintf_size_t_support=yes
+	pgac_cv_snprintf_size_t_support=yes \
+	LIBS=$(TARGET_NLS_LIBS)
 POSTGRESQL_CONF_OPTS = --disable-rpath
+POSTGRESQL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
 
 # https://www.postgresql.org/docs/11/static/install-procedure.html:
 # "If you want to invoke the build from another makefile rather than
Signature · 1 line
2.20.1
#1 lore raw

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

Quoted 7 lines · On Sat, 20 Apr 2019 15:35:51 +0200 Fabrice Fontaine…

Fixes:
- http://autobuild.buildroot.org/results/0d35378b8bdcfffb0cefd264c95ca3617034559b

---
 package/postgresql/postgresql.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

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