Re: [Powertop] [PATCH 1/3] Remove unknown symbol

Chris Ferron <chris.e.ferron at linux.intel.com> Mon, 21 May 2012 15:16:31 -0700
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
On 05/21/2012 12:39 PM, Magnus Fromreide wrote:
> Nothing sets the symbol NCURES_LIBS and NCURSES_LIBS is already in the link
> line, so this patch removes the misspelled version.
>
> Signed-off-by: Magnus Fromreide<magfr(a)lysator.liu.se>
> ---
>   src/Makefile.am |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index b396691..e26c8bc 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -40,7 +40,7 @@ powertop_CPPFLAGS = -D_FORTIFY_SOURCE=2 $(NCURSES_CFLAGS) $(PCIUTILS_CFLAGS) $(L
>
>   powertop_LDADD = ../pevent/libparseevent.la
>
> -AM_LDFLAGS = $(LIBS) $(NCURSES_LIBS) $(PCIUTILS_LIBS) $(LIBNL_LIBS) $(LIBZ_LIBS) $(NCURES_LIBS) $(PTHREAD_LIBS)  $(RESOLV_LIBS)
> +AM_LDFLAGS = $(LIBS) $(NCURSES_LIBS) $(PCIUTILS_LIBS) $(LIBNL_LIBS) $(LIBZ_LIBS) $(PTHREAD_LIBS)  $(RESOLV_LIBS)
>
>   BUILT_SOURCES = css.h
>   CLEANFILES = css.h
patch applied
Thank You
-Chris