[Buildroot] [git commit branch/2020.11.x] package/gerbera: fix linking with std::filesystem

Peter Korsgaard peter at korsgaard.com
Thu Jan 28 20:01:49 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=a6dc61541a00ea3a389517ff8ee9b8ad3db59e14
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.11.x

Do not force to CXX_FILESYSTEM_NO_LINK_NEEDED to ON to allow gerbera to
link with the approriate library for std::filesystem

It should be noted that check_cxx_source_runs has been dropped since
version 1.6.0 and
https://github.com/gerbera/gerbera/commit/a3a64bed1d78fc51c7ab298db019c89852acb80c

Fixes:
 - http://autobuild.buildroot.org/results/0fcd0ce167c04f788bf1b9414ae5e7677691c7cf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 65f7b0d30d10f50dcdacdba6408f4e2597396f5e)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/gerbera/gerbera.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/gerbera/gerbera.mk b/package/gerbera/gerbera.mk
index 9468def041..6e36377798 100644
--- a/package/gerbera/gerbera.mk
+++ b/package/gerbera/gerbera.mk
@@ -18,8 +18,7 @@ GERBERA_DEPENDENCIES = \
 	zlib
 GERBERA_CONF_OPTS = \
 	-DWITH_DEBUG=OFF \
-	-DWITH_JS=OFF \
-	-DCXX_FILESYSTEM_NO_LINK_NEEDED=ON
+	-DWITH_JS=OFF
 
 # Uses __atomic_fetch_add_4
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)


More information about the buildroot mailing list