mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 23:57:31 +09:00
Build Reference: 26:39.53 ../../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/flac_parser.o: multiple definition of 'ff_flac_parser' 26:39.53 ../../../build/unix/gold/ld: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/dummy_funcs.o: previous definition here 26:39.53 collect2: error: ld returned 1 exit status 26:39.53 gmake[4]: *** [/home/mattatobin/development/binoc-central/platform/config/rules.mk:773: libmozavcodec.so] Error 1 See also: https://gcc.gnu.org/gcc-10/porting_to.html
81 lines
1.7 KiB
Python
81 lines
1.7 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Due to duplicate file names, we compile libavutil/x86 in its own
|
|
# moz.build file.
|
|
if CONFIG['FFVPX_ASFLAGS']:
|
|
DIRS += ['x86']
|
|
|
|
SharedLibrary('mozavcodec')
|
|
SOURCES += [
|
|
'allcodecs.c',
|
|
'audioconvert.c',
|
|
'avpacket.c',
|
|
'avpicture.c',
|
|
'bitstream.c',
|
|
'bitstream_filter.c',
|
|
'bitstream_filters.c',
|
|
'bsf.c',
|
|
'codec_desc.c',
|
|
'decode.c',
|
|
'dummy_funcs.c',
|
|
'flac.c',
|
|
'flac_parser.c',
|
|
'flacdata.c',
|
|
'flacdec.c',
|
|
'flacdsp.c',
|
|
'golomb.c',
|
|
'h264pred.c',
|
|
'imgconvert.c',
|
|
'log2_tab.c',
|
|
'mathtables.c',
|
|
'null_bsf.c',
|
|
'options.c',
|
|
'parser.c',
|
|
'profiles.c',
|
|
'pthread.c',
|
|
'pthread_frame.c',
|
|
'pthread_slice.c',
|
|
'qsv_api.c',
|
|
'raw.c',
|
|
'resample.c',
|
|
'resample2.c',
|
|
'reverse.c',
|
|
'utils.c',
|
|
'videodsp.c',
|
|
'vorbis_parser.c',
|
|
'vp56rac.c',
|
|
'vp8.c',
|
|
'vp8_parser.c',
|
|
'vp8dsp.c',
|
|
'vp9.c',
|
|
'vp9_parser.c',
|
|
'vp9block.c',
|
|
'vp9data.c',
|
|
'vp9dsp.c',
|
|
'vp9dsp_10bpp.c',
|
|
'vp9dsp_12bpp.c',
|
|
'vp9dsp_8bpp.c',
|
|
'vp9lpf.c',
|
|
'vp9mvs.c',
|
|
'vp9prob.c',
|
|
'vp9recon.c',
|
|
'xiph.c'
|
|
]
|
|
|
|
SYMBOLS_FILE = 'avcodec.symbols'
|
|
NO_VISIBILITY_FLAGS = True
|
|
|
|
# GCC 10 defaults -fno-common, we don't care to solve this "properly" yet
|
|
# so use GCC < 10 behavior.
|
|
if CONFIG['GNU_CC'] and CONFIG['CC_VERSION'] >= '10.0.0':
|
|
CFLAGS += ['-fcommon']
|
|
|
|
USE_LIBS += [
|
|
'mozavutil'
|
|
]
|
|
|
|
include("../ffvpxcommon.mozbuild")
|