contrib: hide FFmpeg symbols

https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1944

Change-Id: Ic85446b5b14dd93d74896245b3a02375d5641bfc
This commit is contained in:
François-Simon Fauteux-Chapleau
2025-07-30 14:43:05 -04:00
committed by Adrien Béraud
parent bf6a6690e1
commit 5d99b9c5fc

View File

@ -420,6 +420,12 @@ FFMPEGCONF += --target-os=mingw32 \
--enable-encoder=hevc_nvenc
endif
# Prevent the daemon from exposing FFmpeg symbols.
# This matters for Jami's Qt client because Qt links against FFmpeg and
# we want to avoid ABI compatibility issues in case the version of FFmpeg
# expected by Qt is not the same as the one used by the daemon.
CFLAGS += -fvisibility=hidden
$(TARBALLS)/ffmpeg-$(FFMPEG_HASH).tar.xz:
$(call download,$(FFMPEG_URL))