From b02427f19d2c31298f57086ad546b10f6e5361b3 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 28 Sep 2018 19:35:19 +0200 Subject: [PATCH] haproxy: fix linking with lua Use LUA_LIB_NAME to give lua library name otherwise haproxy can't find it Fixes: - http://autobuild.buildroot.net/results/28b6672188bb0082ac1467d3b45904880e3634f3 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/haproxy/haproxy.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/haproxy/haproxy.mk b/package/haproxy/haproxy.mk index a799e69651..363fc4447f 100644 --- a/package/haproxy/haproxy.mk +++ b/package/haproxy/haproxy.mk @@ -25,7 +25,9 @@ endif ifeq ($(BR2_PACKAGE_LUA_5_3),y) HAPROXY_DEPENDENCIES += lua -HAPROXY_MAKE_OPTS += USE_LUA=1 +HAPROXY_MAKE_OPTS += \ + LUA_LIB_NAME=lua \ + USE_LUA=1 endif ifeq ($(BR2_PACKAGE_OPENSSL),y) -- 2.30.2