st/egl: do not link against libloader
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 May 2014 14:43:35 +0000 (15:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 29 May 2014 19:01:33 +0000 (20:01 +0100)
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 <olv@lunarg.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chia-I Wu <olv@lunarg.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/state_trackers/egl/Makefile.am

index 26266ed2b6daf0cb308d52c7667a6a5ec2a40441..b7dcdabffefbdb47ff8c18b32f58c2667b1fac18 100644 (file)
@@ -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 += \