diff options
author | Emil Velikov <[email protected]> | 2014-05-10 15:59:03 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-05-15 17:32:31 +0100 |
commit | 39ae284a6941df5942602c027d4a8863ca35e654 (patch) | |
tree | 2ee22d679983097b5f3fdd572b3ddc510a721b65 /src | |
parent | d812c745829be2155fdd0d10e4a12606c2a10826 (diff) |
egl-static: include libradeonwinsys.la only once
With this and the previous patch, we no longer have multiple
definitions in the final egl_gallium.so.
v2: Drop duplicate libloader link.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Chia-I Wu <[email protected]> (v1)
Reviewed-by: Tom Stellard <[email protected]> (v1)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/targets/egl-static/Makefile.am | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am index 332b38db062..38e5d07d156 100644 --- a/src/gallium/targets/egl-static/Makefile.am +++ b/src/gallium/targets/egl-static/Makefile.am @@ -68,17 +68,12 @@ egl_gallium_la_LIBADD = \ $(top_builddir)/src/gallium/drivers/rbug/librbug.la \ $(top_builddir)/src/gallium/state_trackers/egl/libegl.la \ $(top_builddir)/src/egl/main/libEGL.la \ - $(top_builddir)/src/loader/libloader.la \ $(GALLIUM_COMMON_LIB_DEPS) if HAVE_MESA_LLVM AM_LDFLAGS += $(LLVM_LDFLAGS) endif -egl_gallium_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -Wl,--allow-multiple-definition - if HAVE_EGL_PLATFORM_X11 AM_CPPFLAGS += $(LIBDRM_CFLAGS) egl_gallium_la_LIBADD += \ @@ -183,6 +178,11 @@ egl_gallium_la_LIBADD += \ $(NOUVEAU_LIBS) endif +if NEED_RADEON_DRM_WINSYS +egl_gallium_la_LIBADD += \ + $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la +endif + if HAVE_GALLIUM_RADEON_COMMON egl_gallium_la_LIBADD += \ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la @@ -191,7 +191,6 @@ endif if HAVE_GALLIUM_R300 AM_CPPFLAGS += -D_EGL_PIPE_R300=1 egl_gallium_la_LIBADD += \ - $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ $(top_builddir)/src/gallium/drivers/r300/libr300.la \ $(RADEON_LIBS) endif @@ -199,7 +198,6 @@ endif if HAVE_GALLIUM_R600 AM_CPPFLAGS += -D_EGL_PIPE_R600=1 egl_gallium_la_LIBADD += \ - $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ $(top_builddir)/src/gallium/drivers/r600/libr600.la \ $(RADEON_LIBS) endif @@ -207,7 +205,6 @@ endif if HAVE_GALLIUM_RADEONSI AM_CPPFLAGS += -D_EGL_PIPE_RADEONSI=1 egl_gallium_la_LIBADD += \ - $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \ $(RADEON_LIBS) endif |