Browse Source

measurement-kit: Fix compilation with uClibc-ng

The define in the codebase is wrong. Fixed in the Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
a5b7a461d3
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libs/measurement-kit/Makefile

+ 3
- 1
libs/measurement-kit/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=measurement-kit PKG_NAME:=measurement-kit
PKG_VERSION:=0.10.9 PKG_VERSION:=0.10.9
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/measurement-kit/measurement-kit/tar.gz/v$(PKG_VERSION)? 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 CONFIGURE_ARGS+= --with-ca-bundle=/etc/ssl/cert.pem
TARGET_CFLAGS += $(if $(CONFIG_USE_UCLIBC),-DCATCH_CONFIG_GLOBAL_NEXTAFTER)
define Build/Configure define Build/Configure
( cd $(PKG_BUILD_DIR); ./autogen.sh ) ( cd $(PKG_BUILD_DIR); ./autogen.sh )
$(call Build/Configure/Default) $(call Build/Configure/Default)


Loading…
Cancel
Save