From: Sergey V. Lobanov Date: Tue, 1 Feb 2022 16:49:03 +0000 (+0300) Subject: coturn: fix build on macos X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ba23b92974db49fd7a32437e1aedd87d4cc75069;hp=8a4daac339156695a32aa0207c154ed17fb2f811;p=feed%2Ftelephony.git 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 --- 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 \