[PATCH] libxcmd: link against readline
Mark Tinguely
tinguely at sgi.com
Thu Sep 13 10:30:07 CDT 2012
On 08/25/12 18:07, Mike Frysinger wrote:
> This library uses readline funcs (the input.c file), so we need to link
> this shared library against it.
>
> URL: https://bugs.gentoo.org/432644
> Reported-by: David Badia<dbadia at gmail.com>
> Signed-off-by: Mike Frysinger<vapier at gentoo.org>
> ---
> libxcmd/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/libxcmd/Makefile b/libxcmd/Makefile
> index b3544f4..ce082a5 100644
> --- a/libxcmd/Makefile
> +++ b/libxcmd/Makefile
> @@ -22,10 +22,12 @@ endif
>
> ifeq ($(ENABLE_READLINE),yes)
> LCFLAGS += -DENABLE_READLINE
> +LTLIBS += $(LIBREADLINE) $(LIBTERMCAP)
> endif
>
> ifeq ($(ENABLE_EDITLINE),yes)
> LCFLAGS += -DENABLE_EDITLINE
> +LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
> endif
>
> default: ltdepend $(LTLIBRARY)
Looks good.
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
More information about the xfs
mailing list