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 <sergey@lobanov.in>
This commit is contained in:
parent
15c6fa3ddd
commit
a1582314ee
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ define Package/gerbera/conffiles
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
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_INCLUDE_DIR=$(ICONV_PREFIX)/include \
|
||||||
-DIconv_LIBRARY=$(ICONV_PREFIX)/lib/libiconv.a \
|
-DIconv_LIBRARY=$(ICONV_PREFIX)/lib/libiconv.a \
|
||||||
-DWITH_MAGIC=ON \
|
-DWITH_MAGIC=ON \
|
||||||
|
|
Loading…
Reference in a new issue