targets/dri: allow duplicated symbols
With the inclusion of xmlconfig in the loader we're providing dri* symbols which are already available in libdricommon.la. This leads to a build break due to the multiple definitions. Temporary allow multiple definitions, until we come with a better solution. Reported-by: Laurent Carlier <lordheavym@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
bd322dfd0e
commit
7414552b18
|
@ -45,6 +45,12 @@ gallium_dri_la_LIBADD = \
|
|||
|
||||
if HAVE_GALLIUM_STATIC_TARGETS
|
||||
|
||||
# XXX: Temporary allow duplicated symbols, as the loader pulls in xmlconfig.c
|
||||
# which already provides driParse* and driQuery* amongst others.
|
||||
# Remove this hack as we come up with a cleaner solution.
|
||||
gallium_dri_la_LDFLAGS += \
|
||||
-Wl,--allow-multiple-definition
|
||||
|
||||
MEGADRIVERS =
|
||||
STATIC_TARGET_CPPFLAGS =
|
||||
STATIC_TARGET_LIB_DEPS = \
|
||||
|
|
Loading…
Reference in New Issue