From: Sergey V. Lobanov Date: Mon, 10 Jan 2022 19:27:23 +0000 (+0300) Subject: gerbera: fix build on macos X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a1582314ee6f1cb4f4eba28ffb8b10305138ad6d;p=feed%2Fpackages.git gerbera: fix build on macos cmake LINK_WHAT_YOU_USE is not supported on macos, disable it if macos is used to build gerbera package compiled binary (sha256sum) exactly the same on macos and ubuntu Signed-off-by: Sergey V. Lobanov --- diff --git a/multimedia/gerbera/Makefile b/multimedia/gerbera/Makefile index cb1ad23401..67b7eb7407 100644 --- a/multimedia/gerbera/Makefile +++ b/multimedia/gerbera/Makefile @@ -44,7 +44,7 @@ define Package/gerbera/conffiles endef CMAKE_OPTIONS += \ - -DCMAKE_LINK_WHAT_YOU_USE=ON \ + -DCMAKE_LINK_WHAT_YOU_USE=$(if $(CONFIG_HOST_OS_MACOS),OFF,ON) \ -DIconv_INCLUDE_DIR=$(ICONV_PREFIX)/include \ -DIconv_LIBRARY=$(ICONV_PREFIX)/lib/libiconv.a \ -DWITH_MAGIC=ON \