Error of multiple definitions for libmesagallium and libmesautil may be fixed by linker-option allow-multiple-definition
CC: Dylan Baker <[email protected]> Fixes: 8396043f304b (Replace uses of _mesa_bitcount with util_bitcount) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107923 Signed-off-by: Sergii Romantsov <[email protected]> --- src/gallium/targets/libgl-xlib/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am index dc7c6ed..094d4be 100644 --- a/src/gallium/targets/libgl-xlib/Makefile.am +++ b/src/gallium/targets/libgl-xlib/Makefile.am @@ -46,6 +46,7 @@ lib@GL_LIB@_la_SOURCES = xlib.c lib@GL_LIB@_la_LDFLAGS = \ -no-undefined \ -version-number 1:5:0 \ + -Wl,--allow-multiple-definition \ $(BSYMBOLIC) \ $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) -- 2.7.4 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
