[LTP] [PATCH] Fix static linking with musl-fts

Petr Vorel pvorel@suse.cz
Mon Nov 18 21:32:41 CET 2019


Hi Fabrice,

> Don't append libraries to LDLIBS but prepend them in cpuset_lib/Makefile
> and cpuset/Makefile.inc to allow the user to provide its FTS library
> such as -lfts for musl/uclibc through LDLIBS

> This will fix static build of ltp with musl-fts on uclibc

> Fixes:
>  - http://autobuild.buildroot.org/results/9155326e1ff7c2bb2218122c453872c2fc76f65e

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

> -LDLIBS			+= -lcpu_set -lcontrollers -lltp
> +LDLIBS			:= -lcpu_set -lcontrollers -lltp $(LDLIBS)

Thanks a lot, merged!

Kind regards,
Petr


More information about the ltp mailing list