From 13c4e245602c0c26eae05b5cb28c44671c25e7e0 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 25 Aug 2020 00:52:33 -0700 Subject: [PATCH] wavemon: fix compilation with glibc -lpthread is needed. Signed-off-by: Rosen Penev --- net/wavemon/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/wavemon/Makefile b/net/wavemon/Makefile index 3d74daf0eb..7d2ef2ad1e 100644 --- a/net/wavemon/Makefile +++ b/net/wavemon/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wavemon PKG_VERSION:=0.9.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/uoaerg/wavemon/tar.gz/v$(PKG_VERSION)? @@ -43,6 +43,7 @@ endef CONFIGURE_ARGS += --without-libcap TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3 +TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread) define Package/wavemon/install $(INSTALL_DIR) $(1)/usr/bin -- 2.30.2