Skip to content

Commit

Permalink
package/syslog-ng: fix libcurl build without C++
Browse files Browse the repository at this point in the history
Fix the following libcurl build failure without C++ raised since bump to
version 4.7.1 in commit 105f039 and
syslog-ng/syslog-ng@86feed7:

configure: error: C++ support is mandatory when the cloud-auth module is enabled.

Fixes: 105f039
 - http://autobuild.buildroot.org/results/cf36fb119224ba50a768dbe363d4c381f76eb476

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
  • Loading branch information
ffontaine authored and arnout committed Jun 6, 2024
1 parent 671b8f4 commit 311bb82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package/syslog-ng/syslog-ng.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,13 @@ endif

ifeq ($(BR2_PACKAGE_LIBCURL),y)
SYSLOG_NG_DEPENDENCIES += libcurl
SYSLOG_NG_CONF_OPTS += --enable-http --enable-cloud-auth
SYSLOG_NG_CONF_OPTS += --enable-http
SYSLOG_NG_CONF_OPTS += --with-libcurl="$(STAGING_DIR)/usr"
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
SYSLOG_NG_CONF_OPTS += --enable-cloud-auth
else
SYSLOG_NG_CONF_OPTS += --disable-cloud-auth
endif
else
SYSLOG_NG_CONF_OPTS += --disable-http --disable-cloud-auth
endif
Expand Down

0 comments on commit 311bb82

Please sign in to comment.