diff mbox series

[1/1] package/lighttpd: pgsql needs wchar

Message ID 20220207172649.3041300-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/lighttpd: pgsql needs wchar | expand

Commit Message

Fabrice Fontaine Feb. 7, 2022, 5:26 p.m. UTC
Commit b429dce6f8e2ee162b79fe2a3ebb1bd179f462e3 forgot to add wchar
dependency resulting in the following build failure of postgresql:

configure: error: C compiler "/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc" does not support C99

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/lighttpd/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Korsgaard Feb. 7, 2022, 6:23 p.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Commit b429dce6f8e2ee162b79fe2a3ebb1bd179f462e3 forgot to add wchar
 > dependency resulting in the following build failure of postgresql:

 > configure: error: C compiler "/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc" does not support C99

 > Fixes:
 >  - http://autobuild.buildroot.org/results/e4b59fecd2a5bcda8103ddf4eae3dbd78fe3b896

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in
index aa18c13171..6f0c927319 100644
--- a/package/lighttpd/Config.in
+++ b/package/lighttpd/Config.in
@@ -92,11 +92,13 @@  config BR2_PACKAGE_LIGHTTPD_PCRE
 config BR2_PACKAGE_LIGHTTPD_PGSQL
 	bool "pgsql support"
 	depends on BR2_USE_MMU # postgresql
+	depends on BR2_USE_WCHAR # postgresql
 	select BR2_PACKAGE_POSTGRESQL
 	help
 	  Enable postgres support for lighttpd mod_vhostdb_pgsql.
 
 comment "pgsql support needs a toolchain w/ wchar"
+	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR
 
 config BR2_PACKAGE_LIGHTTPD_WEBDAV