From 3f238a5e98b6a1b1b61e00a81fa44f9ce5065861 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Thu, 8 Mar 2018 15:56:46 +0100 Subject: [PATCH] pcapsipdump: compile fixes Previous revert only works when libstdcpp is the default C++ lib. To make the compile work in all scenarios LIBS needs to be defined and MAKE_FLAGS are required instead of MAKE_VARS, otherwise the included variables are overridden. Signed-off-by: Sebastian Kemper --- net/pcapsipdump/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/pcapsipdump/Makefile b/net/pcapsipdump/Makefile index d259b17..ebc3a9b 100644 --- a/net/pcapsipdump/Makefile +++ b/net/pcapsipdump/Makefile @@ -36,9 +36,10 @@ define Package/pcapsipdump/description (even if there is thousands of concurrect SIP sessions). endef -MAKE_VARS += \ +MAKE_FLAGS += \ CC="$(TARGET_CXX)" \ - CPPFLAGS="$(TARGET_CXXFLAGS) -fno-rtti $(TARGET_CPPFLAGS)" + CPPFLAGS="$(TARGET_CXXFLAGS) -fno-rtti $(TARGET_CPPFLAGS)" \ + LIBS="-lpcap" define Package/pcapsipdump/install $(INSTALL_DIR) $(1)/usr/bin -- 2.30.2