lua: use target LDFLAGS
authorBaruch Siach <baruch@tkos.co.il>
Mon, 8 May 2017 14:28:26 +0000 (17:28 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 11 May 2017 19:51:24 +0000 (21:51 +0200)
commit7e48c824309641c9eec41ee3dd7292a579888965
tree0854d80ec5c8d0015de0fc62e85383b5bbb53056
parentc60a54ff8bb4620c917841e4b813f554a0ce0f1b
lua: use target LDFLAGS

This adds '-static' to the link command when BR2_STATIC_LIBS=y, making the lua
binary really static.

Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lua/lua.mk