From 31f50f314939ae8c31f2274e619b1a6bbaeae4a0 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 29 Jan 2014 16:25:12 +0000 Subject: [PATCH] gbm: drop unneeded dependency of libudev As of recently we dlopen the library, additionally the only code that is including the libudev.h header, is the loader. Signed-off-by: Emil Velikov --- src/gallium/targets/gbm/Makefile.am | 2 -- src/gbm/Makefile.am | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am index 4299d07b82e..6d71a65b9cb 100644 --- a/src/gallium/targets/gbm/Makefile.am +++ b/src/gallium/targets/gbm/Makefile.am @@ -34,7 +34,6 @@ AM_CPPFLAGS = \ AM_CFLAGS = \ $(GALLIUM_CFLAGS) \ - $(LIBUDEV_CFLAGS) \ $(LIBDRM_CFLAGS) gbm_LTLIBRARIES = gbm_gallium_drm.la @@ -47,7 +46,6 @@ gbm_gallium_drm_la_LIBADD = \ $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \ $(top_builddir)/src/gallium/state_trackers/gbm/libgbm.la \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ - $(LIBUDEV_LIBS) \ $(LIBDRM_LIBS) \ -lm diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am index eacb96a38e6..c46f14a69b9 100644 --- a/src/gbm/Makefile.am +++ b/src/gbm/Makefile.am @@ -9,7 +9,6 @@ AM_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/src/loader \ -I$(top_srcdir)/src/gbm/main \ - $(LIBUDEV_CFLAGS) \ $(LIBKMS_CFLAGS) \ $(DLOPEN_CFLAGS) \ $(DEFINES) @@ -23,7 +22,6 @@ libgbm_la_SOURCES = \ libgbm_la_LDFLAGS = -version-info 1:0 libgbm_la_LIBADD = \ $(top_builddir)/src/loader/libloader.la \ - $(LIBUDEV_LIBS) \ $(LIBKMS_LIBS) \ $(DLOPEN_LIBS) -- 2.30.2