[LTP] [PATCH] testcases/kernel/include/lib.mk: re-order library link order

Cyril Hrubis chrubis@suse.cz
Wed Apr 6 15:04:45 CEST 2016


Hi!
> diff --git a/testcases/kernel/include/lib.mk b/testcases/kernel/include/lib.mk
> index f79a1c0197e3..5c97ae2c9edf 100644
> --- a/testcases/kernel/include/lib.mk
> +++ b/testcases/kernel/include/lib.mk
> @@ -23,7 +23,7 @@ KERNEL_DIR		:= $(abs_top_builddir)/testcases/kernel
>  LIBKERNTEST_DIR		:= $(KERNEL_DIR)/lib
>  LIBKERNTEST		:= $(LIBKERNTEST_DIR)/libkerntest.a
>  CPPFLAGS		+= $(NUMA_CPPFLAGS) -I$(KERNEL_SRCDIR)/include
> -LDLIBS			+= $(NUMA_LIBS) -lkerntest -lltp
> +LDLIBS			+= -lkerntest -lltp $(NUMA_LIBS)

Looking at the libkerntest.a it uses numa library as well as ltp library
so it should passed be before them, acked.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list