package/libubox: fix lua module install path
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 6 May 2017 20:26:10 +0000 (22:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 May 2017 07:01:20 +0000 (09:01 +0200)
commitbe3645a58ad1ee3961c4da1b2f72f5835629303a
treecfab24af8b91b789ea26f73a37913de3540f672e
parent86b4eeccc47d59a0e4d874861514e78669f68f14
package/libubox: fix lua module install path

The LUAPATH variable is only used when installing the lua module, and
cmake knows very well how to do out-of-tree isntalls, so there is no
reason to include the staging path in LUAPATH, which will cause our
post-install sanity checks to kick in and whine:

    libubox: installs files in /home/lhk/workspace/orangepi/host/usr/a
    rm-buildroot-linux-gnueabihf/sysroot//home/lhk/workspace/orangepi

As for libuci, just pass the runtime LUAPATH.

Fixes #9856

Reported-by: linhuikui@gmail.com
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libubox/libubox.mk