Browse Source

haproxy: Fix Lua-support on non-mips(el) targets.

- the Lua-support logic was cleaned up to unbreak Lua-support on non-mips(el) targets. Previously, no target had Lua-support.
- mips and mipsel are both known to currently not build with Lua-support enabled => disable both.
- mips64 and mips64el were tested fine with Lua-support enabled.

Signed-off-by: Christian Lachner <gladiac@gmail.com>
lilik-openwrt-22.03
Christian Lachner 7 years ago
parent
commit
f66b279d87
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      net/haproxy/Makefile

+ 6
- 3
net/haproxy/Makefile View File

@ -95,6 +95,9 @@ ENABLE_LUA:=y
ifeq ($(CONFIG_mips),y)
ENABLE_LUA:=n
endif
ifeq ($(CONFIG_mipsel),y)
ENABLE_LUA:=n
endif
ifeq ($(CONFIG_avr32),y)
LINUX_TARGET:=linux26
@ -105,13 +108,13 @@ endif
ifeq ($(BUILD_VARIANT),ssl)
ADDON+=USE_OPENSSL=1
ADDON+=ADDLIB="-lcrypto -lm "
else ifeq ($(CONFIG_mips),n)
endif
ifeq ($(ENABLE_LUA),y)
ADDON+=USE_LUA=1
ADDON+=LUA_LIB_NAME="lua534"
ADDON+=LUA_INC="$(STAGING_DIR)/lua-5.3.4/include"
ADDON+=LUA_LIB="$(STAGING_DIR)/lua-5.3.4/lib"
else
ADDON+=ADDLIB="-lm"
endif
ifeq ($(ENABLE_LUA),y)


Loading…
Cancel
Save