mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/rsyslog: imhttp support needs apr-util
imhttp support needs apr-util in addition to civetweb since bump to version 8.2204.1 in commitbc469ee632anda8b8d6c1f9. Without apr-util, the build fails with: configure: error: Package requirements (apr-util-1 >= 1.0) were not met: Package 'apr-util-1', required by 'virtual:world', not found Instead of having the user needing to figure out that apr-util is needed for imhttp support, have the top-level rsyslog option selects apr-util when civetweb-lib is enabled Fixes: - http://autobuild.buildroot.org/results/4454ae5321df0c04c9dee19693f3908e69fbf23d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit7bf8aed70c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
d45dbafc06
commit
9fb6a415a8
@@ -8,6 +8,7 @@ config BR2_PACKAGE_RSYSLOG
|
||||
# even though rsyslog already depends on threads for itself:
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_APR_UTIL if BR2_PACKAGE_CIVETWEB_LIB
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_LIBESTR
|
||||
select BR2_PACKAGE_LIBLOGGING
|
||||
|
||||
@@ -53,7 +53,7 @@ RSYSLOG_CONF_OPTS += \
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CIVETWEB_LIB),y)
|
||||
RSYSLOG_DEPENDENCIES += civetweb
|
||||
RSYSLOG_DEPENDENCIES += apr-util civetweb
|
||||
RSYSLOG_CONF_OPTS += --enable-imhttp
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-imhttp
|
||||
|
||||
Reference in New Issue
Block a user