I've peeked at the fix that was done for the fox1.6, which was also negatively impacted by -Bsymbolic-functions, and it was doing this in its debian/rules file:
# Ubuntu defaults to use -Bsymbolic-functions, which breaks linking
# shared objects with static FFmpeg archives (see:
# https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/1942352).
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
ifneq (,$(LDFLAGS))
LDFLAGS := $(filter-out %-Bsymbolic-functions,$(LDFLAGS))
endif
endif
I've peeked at the fix that was done for the fox1.6, which was also negatively impacted by -Bsymbolic- functions, and it was doing this in its debian/rules file:
# Ubuntu defaults to use -Bsymbolic- functions, which breaks linking /bugs.launchpad .net/ubuntu/ +source/ ffmpeg/ +bug/1942352). functions, $(LDFLAGS) )
# shared objects with static FFmpeg archives (see:
# https:/
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
ifneq (,$(LDFLAGS))
LDFLAGS := $(filter-out %-Bsymbolic-
endif
endif
It is a good workaround.