lua: fix linking under glibc
authorRosen Penev <rosenp@gmail.com>
Tue, 15 Oct 2019 05:59:42 +0000 (22:59 -0700)
committerDavid Bauer <mail@david-bauer.net>
Tue, 15 Oct 2019 16:13:54 +0000 (18:13 +0200)
commit4533ba6810cb8ad00fdc4b320ed6619c145174bf
tree91e3b639c263d5e4140ac6018364db6d65cb7888
parent48b5d08a483a29c4e654a08580fffe12559e41b7
lua: fix linking under glibc

Compilation of liblua itself works, but when other packages link against
it, the linker starts throwing undefined references to a bunch of math
functions in libm.

First discovered in a failed attempt to transition a package to uClibc++.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[fix commit title capitalization]
Signed-off-by: David Bauer <mail@david-bauer.net>
package/utils/lua/Makefile