diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile index 53c326bac..f5656dc41 100644 --- a/multimedia/tvheadend/Makefile +++ b/multimedia/tvheadend/Makefile @@ -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 \