From 4dd62d7807b47efbc9065ae8f17f73e1ec6e9d26 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 10 Dec 2013 11:13:32 -0500 Subject: [PATCH] libglamoregl: remove -I$(top_srcdir)/src Automake always provide -I. It is at the beginning of the list of compiler options. Not needed either to find glamor_egl.c source. Signed-off-by: Gaetan Nadon Reviewed-by: Zhigang Gong --- glamor/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/glamor/Makefile.am b/glamor/Makefile.am index 79ea95919..2fd521f11 100644 --- a/glamor/Makefile.am +++ b/glamor/Makefile.am @@ -59,11 +59,10 @@ module_LTLIBRARIES = $(LIBGLAMOREGL) libglamoregl_la_DEPENDENCIES = libglamor.la libglamoregl_la_LDFLAGS = -avoid-version -module libglamoregl_la_LIBADD = $(EGL_LIBS) $(GLX_SYS_LIBS) $(GBM_LIBS) libglamor.la -libglamoregl_la_SOURCES = glamor_eglmodule.c $(top_srcdir)/src/glamor_egl.c +libglamoregl_la_SOURCES = glamor_eglmodule.c glamor_egl.c libglamoregl_la_CFLAGS = \ $(AM_CFLAGS) \ $(GLX_DEFINES) \ - -I$(top_srcdir)/src \ $(LIBDRM_CFLAGS) \ $(EGL_CFLAGS) \ $(GBM_CFLAGS)