From: Sebastian Kemper Date: Thu, 8 Mar 2018 14:56:46 +0000 (+0100) Subject: pcapsipdump: compile fixes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f238a5e98b6a1b1b61e00a81fa44f9ce5065861;p=feed%2Ftelephony.git 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 --- 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