[PATCH] Add shared libraries needed for link

Thomas Graf tgraf at infradead.org
Tue Nov 9 18:28:12 EST 2010


On Tue, Nov 09, 2010 at 02:57:01PM +0200, Gery Kahn wrote:
> Needed to find shared libraries during linkage
> 
> Signed-off-by: Gery Kahn <geryk at ti.com>
> ---
>  src/Makefile.am |   78 +++++++++++++++++++++++++++---------------------------
>  1 files changed, 39 insertions(+), 39 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 895c8ae..db293da 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -29,97 +29,97 @@ noinst_PROGRAMS = \
>  	nl-util-addr
>  
>  genl_ctrl_list_SOURCES = genl-ctrl-list.c 
> -genl_ctrl_list_LDADD = -lnl-genl -lnl-route
> +genl_ctrl_list_LDADD = -lnl-genl -lnl-route -lnl -lnl-nf

This does not make sense. nl-cli should link to the libraries
instead.

What kind of error do you get that you think this patch is required?



More information about the libnl mailing list