From: Emil Velikov Date: Wed, 28 May 2014 14:43:35 +0000 (+0100) Subject: st/egl: do not link against libloader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=febec731475a5b288cc50660b2d32780e395b950;p=mesa.git st/egl: do not link against libloader Move the link to the final targets, like any other place in mesa/gallium. This allows better visibilty and will prevent us from including the library archive twice. Resolves multiple definition of `loader_get_pci_id_for_fd' multiple definition of `loader_get_pci_id_for_fd' Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79263 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79382 Cc: Chia-I Wu Signed-off-by: Emil Velikov Reviewed-by: Chia-I Wu Tested-by: Michel Dänzer --- diff --git a/src/gallium/state_trackers/egl/Makefile.am b/src/gallium/state_trackers/egl/Makefile.am index 26266ed2b6d..b7dcdabffef 100644 --- a/src/gallium/state_trackers/egl/Makefile.am +++ b/src/gallium/state_trackers/egl/Makefile.am @@ -65,7 +65,6 @@ endif if HAVE_EGL_PLATFORM_DRM libegl_la_SOURCES += $(drm_FILES) -libegl_la_LIBADD = $(top_builddir)/src/loader/libloader.la AM_CFLAGS += \ $(LIBDRM_CFLAGS) AM_CPPFLAGS += \