Browse Source

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>
lilik-openwrt-22.03
Sergey V. Lobanov 3 years ago
committed by Rosen Penev
parent
commit
a1582314ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      multimedia/gerbera/Makefile

+ 1
- 1
multimedia/gerbera/Makefile View File

@ -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…
Cancel
Save