[Buildroot] [PATCH] Don't install in mysql directory

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 29 20:28:31 UTC 2015


Arnout,

On Mon, 14 Dec 2015 00:57:07 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:
> Installing libraries in a subdirectory of /usr/lib leads to no end of
> trouble. It requires either setting a RUN_PATH in the ELF files linked
> with it or adding the path to ld.so.conf and calling ldconfig on the
> target.
> 
> So to simplify things, put everything in /usr/lib instead of
> /usr/lib/mysql
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  .../0007-dont-install-in-mysql-directory.patch     | 182 +++++++++++++++++++++
>  1 file changed, 182 insertions(+)
>  create mode 100644 package/mysql/0007-dont-install-in-mysql-directory.patch

I've applied the patch after doing the following tweaks:

    [Thomas:
     - tweak commit title.
     - also remove ld.so.conf handling in mysql.mk, since it is no
    longer necessary.]

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list