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.99rst.org/?a=commitdiff_plain;h=a5b7a461d3ca774412c18dbfa3b2b6158ab51cd0;p=openwrt-packages.git measurement-kit: Fix compilation with uClibc-ng The define in the codebase is wrong. Fixed in the Makefile. Signed-off-by: Rosen Penev --- diff --git a/libs/measurement-kit/Makefile b/libs/measurement-kit/Makefile index 1331b688b..d6186af69 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)