From: Cyril Bonté Date: Sun, 16 Aug 2015 18:27:38 +0000 (+0200) Subject: BUILD: add USE_LUA to BUILD_OPTIONS when it's used X-Git-Tag: v1.6-dev4~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e441fb4ed6e3849fc0a9ed7cae084dea794ac11;p=thirdparty%2Fhaproxy.git BUILD: add USE_LUA to BUILD_OPTIONS when it's used haproxy -vv doesn't indicate that USE_LUA was specified at compilation time. This is caused by the Makefile, which doesn't update BUILD_OPTIONS. --- diff --git a/Makefile b/Makefile index 2517b37e4a..cc4b24167d 100644 --- a/Makefile +++ b/Makefile @@ -595,6 +595,7 @@ endif ifneq ($(USE_LUA),) check_lua_lib = $(shell echo "int main(){}" | $(CC) -o /dev/null -x c - $(2) -l$(1) 2>/dev/null && echo $(1)) +BUILD_OPTIONS += $(call ignore_implicit,USE_LUA) OPTIONS_CFLAGS += -DUSE_LUA $(if $(LUA_INC),-I$(LUA_INC)) LUA_LD_FLAGS := $(if $(LUA_LIB),-L$(LUA_LIB)) ifeq ($(LUA_LIB_NAME),)