Re: [PATCH] tools lib traceevent: install libtraceevent.a into libdir.

From: Jiri Olsa
Date: Wed May 06 2015 - 03:10:33 EST


On Tue, May 05, 2015 at 02:25:31AM +0000, Wang Nan wrote:
> Before this patch, 'make install' installs libraries into bindir:
>
> $ make install DESTDIR=./tree
> INSTALL trace_plugins
> INSTALL libtraceevent.a
> INSTALL libtraceevent.so
> $ find ./tree
> ./tree/
> ./tree/usr
> ./tree/usr/local
> ./tree/usr/local/bin
> ./tree/usr/local/bin/libtraceevent.a
> ./tree/usr/local/bin/libtraceevent.so
> ...
>
> /usr/local/lib should be a better place.

it's better, but it should also be lib64 for 64-bit archs

please check perf's config/Makefile.arch, there's oneline
check for this

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/