Browse Source

tvheadend: fix build on macos

tvheadend configure/make files detect Darwin build host and changes
build logic, but it fails compilation for OpenWrt target (Linux)

This patch explicitly specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
lilik-openwrt-22.03
Sergey V. Lobanov 2 years ago
committed by Rosen Penev
parent
commit
e7900b533b
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      multimedia/tvheadend/Makefile

+ 10
- 0
multimedia/tvheadend/Makefile View File

@ -187,7 +187,17 @@ endif
## CONFIGURE_ARGS += --disable-libopus
##endif
#required to cross-compile hdhomerun on non-Linux build host
MAKE_FLAGS += \
OS=Linux
#required to always have "build.linux" dir, not "build.darwin" on macos
CONFIGURE_VARS += \
PLATFORM=linux
#--platfrom=linux is required to cross-compile tvheadend on non-Linux build host
CONFIGURE_ARGS += \
--platform=linux \
--arch=$(ARCH) \
--disable-libsystemd_daemon \
--disable-dbus_1 \


Loading…
Cancel
Save