mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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>
This commit is contained in:
committed by
Rosen Penev
parent
e4755df4c8
commit
e7900b533b
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user