On Mon, Apr 14, 2014 at 03:14:14PM +0200, Łukasz Stelmach wrote:
> ---
>  Makefile.am | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> Without CFLAGS my gcc is unable to find linkmod.h. KMOD_LIBS just look
> better than -lkomd for me.
> 
> diff --git a/Makefile.am b/Makefile.am
> index 0ad1729..6767a76 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1402,10 +1402,14 @@ test_ipcrm_LDADD = \
>  test_rtnl_manual_SOURCES = \
>       src/test/test-rtnl-manual.c
>  
> +test_rtnl_manual_CFLAGS = \
> +     $(AM_CFLAGS) \
> +     $(KMOD_CFLAGS)
> +
>  test_rtnl_manual_LDADD = \
>       libsystemd-internal.la \
>       libsystemd-shared.la \
> -     -lkmod
> +     $(KMOD_LIBS)
>  
>  test_ellipsize_SOURCES = \
>       src/test/test-ellipsize.c
> -- 
Applied, with a follow up patch.

Zbyszek

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to