From ba23b92974db49fd7a32437e1aedd87d4cc75069 Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Tue, 1 Feb 2022 19:49:03 +0300 Subject: [PATCH] coturn: fix build on macos coturn build fails on macos due using `ar -r` by default, but macos system `ar` is not compatible with the objects generated by OpenWrt GCC toolchain. This patch redefines ARCHIVERCMD="$(TARGET_AR) -r" to make it possible to build coturn on macos build host. Signed-off-by: Sergey V. Lobanov --- net/coturn/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/coturn/Makefile b/net/coturn/Makefile index f073692..728c482 100644 --- a/net/coturn/Makefile +++ b/net/coturn/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coturn PKG_VERSION:=4.5.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/coturn/coturn/tar.gz/$(PKG_VERSION)? @@ -129,6 +129,7 @@ CONFIGURE_ARGS+= \ --turndbdir=/etc/turnserver CONFIGURE_VARS+= \ + ARCHIVERCMD="$(TARGET_AR) -r" \ LIBEV_OK=1 \ TURN_NO_PROMETHEUS=1 \ TURN_NO_SCTP=1 \ -- 2.30.2