From: Rosen Penev Date: Sat, 1 Feb 2020 05:58:51 +0000 (-0800) Subject: measurement-kit: Fix compilation with uClibc-ng X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bdca0e7bf8c9078b72994435d691dbc7629897c2;p=feed%2Fpackages.git measurement-kit: Fix compilation with uClibc-ng The define in the codebase is wrong. Fixed in the Makefile. Signed-off-by: Rosen Penev (cherry picked from commit a5b7a461d3ca774412c18dbfa3b2b6158ab51cd0) --- diff --git a/libs/measurement-kit/Makefile b/libs/measurement-kit/Makefile index 1331b688bd..d6186af695 100644 --- a/libs/measurement-kit/Makefile +++ b/libs/measurement-kit/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=measurement-kit PKG_VERSION:=0.10.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/measurement-kit/measurement-kit/tar.gz/v$(PKG_VERSION)? @@ -39,6 +39,8 @@ endef CONFIGURE_ARGS+= --with-ca-bundle=/etc/ssl/cert.pem +TARGET_CFLAGS += $(if $(CONFIG_USE_UCLIBC),-DCATCH_CONFIG_GLOBAL_NEXTAFTER) + define Build/Configure ( cd $(PKG_BUILD_DIR); ./autogen.sh ) $(call Build/Configure/Default)