[Buildroot] [git commit branch/2020.05.x] package/libxmlrpc: add openssl optional dependency
Peter Korsgaard
peter at korsgaard.com
Thu Jul 16 15:03:00 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=7487a5de94d42e9156cbd563cda6049e26865445
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.05.x
Without this patch, openssl_abyss is enabled if openssl is built before
libxmlrpc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 32844dfd99e021e9c24b4dbc726d39ffae291b50)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libxmlrpc/libxmlrpc.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/libxmlrpc/libxmlrpc.mk b/package/libxmlrpc/libxmlrpc.mk
index 54db9f1f89..f9925b74ca 100644
--- a/package/libxmlrpc/libxmlrpc.mk
+++ b/package/libxmlrpc/libxmlrpc.mk
@@ -39,6 +39,13 @@ ifeq ($(BR2_STATIC_LIBS),y)
LIBXMLRPC_STATIC_OPTS = SHARED_LIB_TYPE=NONE MUST_BUILD_SHLIB=N
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBXMLRPC_DEPENDENCIES = host-pkgconf openssl
+LIBXMLRPC_CONF_OPTS = --enable-abyss-openssl
+else
+LIBXMLRPC_CONF_OPTS = --disable-abyss-openssl
+endif
+
LIBXMLRPC_MAKE_OPTS += $(LIBXMLRPC_STATIC_OPTS)
LIBXMLRPC_INSTALL_STAGING_OPTS = $(LIBXMLRPC_STATIC_OPTS) \
DESTDIR=$(STAGING_DIR) install
More information about the buildroot
mailing list