BUILD: deviceatlas: fix empty "-I" left on CFLAGS

The previous fix was incomplete, there was a leftover CURL_INC on the
CFLAGS which breaks Lua.
This commit is contained in:
Willy Tarreau 2024-01-26 19:46:59 +01:00
parent 095e9de8b0
commit f00432c59c
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ else
DEVICEATLAS_INC = $(DEVICEATLAS_SRC) DEVICEATLAS_INC = $(DEVICEATLAS_SRC)
DEVICEATLAS_LIB = $(DEVICEATLAS_SRC) DEVICEATLAS_LIB = $(DEVICEATLAS_SRC)
OPTIONS_LDFLAGS += -lpthread OPTIONS_LDFLAGS += -lpthread
OPTIONS_CFLAGS += -I$(DEVICEATLAS_INC) -I$(CURL_INC) OPTIONS_CFLAGS += -I$(DEVICEATLAS_INC)
ifeq ($(DEVICEATLAS_NOCACHE),) ifeq ($(DEVICEATLAS_NOCACHE),)
CXXFLAGS := $(OPTIONS_CFLAGS) -std=gnu++11 CXXFLAGS := $(OPTIONS_CFLAGS) -std=gnu++11
OPTIONS_OBJS += $(DEVICEATLAS_SRC)/dacache.o OPTIONS_OBJS += $(DEVICEATLAS_SRC)/dacache.o