mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
contrib: hide FFmpeg symbols
https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1944 Change-Id: Ic85446b5b14dd93d74896245b3a02375d5641bfc
This commit is contained in:

committed by
Adrien Béraud

parent
bf6a6690e1
commit
5d99b9c5fc
@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user