From 4c05f8d143f27a604ad51ab065b7047585e50c53 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 15 Oct 2023 23:01:25 +0200 Subject: [PATCH] package/monit: fix openssl static build Fix the following openssl static build failure raised since bump to version 5.33.0 in commit 8cedb39764f70f9d467bf0cc1acc99a8bbb963d6: configure: error: Could not find SSL library, please use --with-ssl-lib-dir option or disabled the SSL support using --without-ssl Fixes: - http://autobuild.buildroot.org/results/b2fe4ecd1d84c3cf7d0eb8f606b20bc6638d6d65 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/monit/monit.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/monit/monit.mk b/package/monit/monit.mk index aa068302e3..4766ce3d9e 100644 --- a/package/monit/monit.mk +++ b/package/monit/monit.mk @@ -26,8 +26,9 @@ MONIT_CONF_OPTS += \ --with-largefiles ifeq ($(BR2_PACKAGE_OPENSSL),y) +MONIT_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` MONIT_CONF_OPTS += --with-ssl --with-ssl-dir=$(STAGING_DIR)/usr -MONIT_DEPENDENCIES += openssl +MONIT_DEPENDENCIES += host-pkgconf openssl else MONIT_CONF_OPTS += --without-ssl endif