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:
parent
e4755df4c8
commit
e7900b533b
1 changed files with 10 additions and 0 deletions
|
@ -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…
Reference in a new issue