From a1582314ee6f1cb4f4eba28ffb8b10305138ad6d Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Mon, 10 Jan 2022 22:27:23 +0300 Subject: [PATCH] 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 --- multimedia/gerbera/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimedia/gerbera/Makefile b/multimedia/gerbera/Makefile index cb1ad2340..67b7eb740 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 \