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 <sergey@lobanov.in>
This commit is contained in:
parent
8a4daac339
commit
ba23b92974
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue