aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-06-22 07:47:08 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-07-16 17:03:00 +0200
commit7487a5de94d42e9156cbd563cda6049e26865445 (patch)
tree598cbcf990b89c698d4f0365faf2eae489da20ab
parent9cfcd36ee91d6fa15c78c866a4a0b90953e51968 (diff)
downloadbuildroot-7487a5de94d42e9156cbd563cda6049e26865445.tar.gz
buildroot-7487a5de94d42e9156cbd563cda6049e26865445.tar.bz2
package/libxmlrpc: add openssl optional dependency
Without this patch, openssl_abyss is enabled if openssl is built before libxmlrpc Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 32844dfd99e021e9c24b4dbc726d39ffae291b50) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libxmlrpc/libxmlrpc.mk7
1 files changed, 7 insertions, 0 deletions
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