lua: fix build issue with gcc 4.6
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 20 Jul 2012 16:55:23 +0000 (18:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 20 Jul 2012 18:03:52 +0000 (20:03 +0200)
commit02f5589d6fe85e73a965359f5dfa2a49930ae3e0
treeb34a01e260dde77de206b59a96333b80cc2cf2e9
parent2ebbec054545df978655eda88af78f531ff25f17
lua: fix build issue with gcc 4.6

gcc 4.6 has become more sensitive about option ordering, especially
libraries. It requires the -l flags to be placed after the object
files that need that library. See for example
http://nick.zoic.org/art/etc/gcc-linker-libs.html. We had -llua at the
beginning of the link command line, causing build issues (here on gcc
4.6 with host-lua).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lua/lua-02-shared-libs-for-lua.patch
package/lua/lua-03-shared-libs-for-luac.patch