diff mbox series

[1/1] package/libxmlrpc: cli tool needs dynamic library

Message ID 20210801134608.3730251-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/libxmlrpc: cli tool needs dynamic library | expand

Commit Message

Fabrice Fontaine Aug. 1, 2021, 1:46 p.m. UTC
cli tool, added in commit bc3dc2b44ba1d80ed93f43a8d43c3d80ff548077,
needs dynamic library

Fixes:
 - http://autobuild.buildroot.org/results/18a1a45a0fda7fc95e9d865b4b8a90a99494717e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libxmlrpc/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Yann E. MORIN Aug. 1, 2021, 2:11 p.m. UTC | #1
Fabrice, All,

On 2021-08-01 15:46 +0200, Fabrice Fontaine spake thusly:
> cli tool, added in commit bc3dc2b44ba1d80ed93f43a8d43c3d80ff548077,
> needs dynamic library
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/18a1a45a0fda7fc95e9d865b4b8a90a99494717e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/libxmlrpc/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/libxmlrpc/Config.in b/package/libxmlrpc/Config.in
> index f8b8c411e1..33d512328e 100644
> --- a/package/libxmlrpc/Config.in
> +++ b/package/libxmlrpc/Config.in
> @@ -14,9 +14,13 @@ if BR2_PACKAGE_LIBXMLRPC
>  
>  config BR2_PACKAGE_LIBXMLRPC_TOOLS_XMLRPC
>  	bool "install cli tool"
> +	depends on !BR2_STATIC_LIBS
>  	help
>  	  Command line tool xmlrpc.
>  
> +comment "cli tool needs a toolchain w/ dynamic library"
> +	depends on BR2_STATIC_LIBS
> +
>  endif # BR2_PACKAGE_LIBXMLRPC
>  
>  comment "libxmlrpc needs a toolchain w/ threads"
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/libxmlrpc/Config.in b/package/libxmlrpc/Config.in
index f8b8c411e1..33d512328e 100644
--- a/package/libxmlrpc/Config.in
+++ b/package/libxmlrpc/Config.in
@@ -14,9 +14,13 @@  if BR2_PACKAGE_LIBXMLRPC
 
 config BR2_PACKAGE_LIBXMLRPC_TOOLS_XMLRPC
 	bool "install cli tool"
+	depends on !BR2_STATIC_LIBS
 	help
 	  Command line tool xmlrpc.
 
+comment "cli tool needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 endif # BR2_PACKAGE_LIBXMLRPC
 
 comment "libxmlrpc needs a toolchain w/ threads"