[oe] [PATCH 0/3] lua: use standard prefix for Lua libraries

Koen Kooi k.kooi at student.utwente.nl
Sun Oct 17 20:23:15 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17-10-10 21:42, Petr Štetiar wrote:
> Hi,
> 
> this patch series should fix wrong path in default configuration of Lua, where
> uses wrong /usr/local/{lib,share} in it's module/script search path. This
> patch changes it to the usage of the standard /usr/{lib,share} directories.
> Please apply. Thanks.

What about the following:

Replace no-usr-local.patch with:

do_configure_prepend() {
	sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
}

And then do:

LUA_LIB_DIR = "${libdir}/lua/5.1"

That would even make it work with that crazy micro distro that has no
/usr :)

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMu1szMkyGM64RGpERAlufAKC9fU32pwlUpgftYegwgR9lKezGEQCfXcf1
x+ACokVW12Pi4WaWaDJ+4/0=
=nDaF
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list