diff --git a/dhcp4relay/Makefile b/dhcp4relay/Makefile index eda86cc..4defe7b 100644 --- a/dhcp4relay/Makefile +++ b/dhcp4relay/Makefile @@ -23,7 +23,7 @@ PCAPPP_DONE = $(WORKING_DIR)/pcappp.stamp INCLUDE_DIR = $(PCAPPLUSPLUS_DIR)/include LIB_DIR = $(PCAPPLUSPLUS_DIR)/lib -override LDLIBS += -levent -lhiredis -lswsscommon -pthread -lboost_thread -lboost_system $(LD_PCAPPLUSPLUS_LIB) -lpcap +override LDLIBS += -levent -lhiredis -lswsscommon -pthread -lboost_thread $(LD_PCAPPLUSPLUS_LIB) -lpcap override CPPFLAGS += -Wall -std=c++17 -fPIE -I/usr/include/swss -I$(INCLUDE_DIR) override CPPFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" override LDFLAGS += -L$(LIB_DIR) -Wl,-rpath=$(abspath $(LIB_DIR)) diff --git a/dhcp4relay/debian/control b/dhcp4relay/debian/control index 8623275..6d0f7de 100644 --- a/dhcp4relay/debian/control +++ b/dhcp4relay/debian/control @@ -2,7 +2,7 @@ Source: sonic-dhcp4relay Section: devel Priority: optional Maintainer: Ashutosh Agrawal -Build-Depends: debhelper (>= 12.0.0), libevent-dev, libboost-thread-dev, libboost-system-dev, libswsscommon-dev +Build-Depends: debhelper (>= 12.0.0), libevent-dev, libboost-thread-dev | libboost-thread1.83-dev, libswsscommon-dev Standards-Version: 3.9.3 Homepage: https://github.com/Azure/sonic-buildimage XS-Go-Import-Path: github.com/Azure/sonic-buildimage