BUG/BUILD: opentracing: fixed OT_DEFINE variable setting

In case of using parameter 'OT_USE_VARS=1', the value of the OT_DEFINE
variable is set incorrectly (i.e. the previous value was deleted and a
new one set instead of adding new content).

This patch must be backported in 2.5.
This commit is contained in:
Miroslav Zagorac 2022-03-09 19:59:15 +01:00 committed by Willy Tarreau
parent 728627f932
commit 9964ad8436

View File

@ -67,7 +67,7 @@ OPTIONS_OBJS += \
ifneq ($(OT_USE_VARS),)
$(warning Please do not set the OT_USE_VARS configuration variable, as the source will probably not be able to compile! For now, this variable can only be used for experimental purposes, and is not intended for wider use.)
OT_DEFINE = -DUSE_OT_VARS
OT_DEFINE += -DUSE_OT_VARS
OPTIONS_OBJS += \
addons/ot/src/vars.o
endif