From b6ec669a402641aa8c21d45ca3e244e394b424fa Mon Sep 17 00:00:00 2001 From: Nick Vinson Date: Thu, 29 Nov 2012 06:57:18 -0500 Subject: Add & Update include paths to gudev/Makefile.am libgudev-1.0.la and gudev-1.0.gir fail to build because GCC cannot find the needed header files (e.g. gudevenumtypes.h). To fix this, the include path $(top_buildir)/src was added and 'gdev' was replaced with 'gudev' in all relevant include paths. --- src/gudev/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gudev/Makefile.am b/src/gudev/Makefile.am index eb6e017ac1..00ed5356d7 100644 --- a/src/gudev/Makefile.am +++ b/src/gudev/Makefile.am @@ -49,6 +49,7 @@ BUILT_SOURCES = \ libgudev_1_0_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ -I$(top_srcdir)/src\ + -I$(top_builddir)/src\ -I$(top_srcdir)/src/libudev \ -I$(top_builddir)/src/gudev \ -I$(top_srcdir)/src/gudev \ @@ -104,8 +105,9 @@ GUdev_1_0_gir_CFLAGS = \ -D_GUDEV_COMPILATION \ -D_GUDEV_WORK_AROUND_DEV_T_BUG \ -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/gdev \ - -I$(top_builddir)/src/gdev + -I$(top_builddir)/src \ + -I$(top_srcdir)/src/gudev \ + -I$(top_builddir)/src/gudev GUdev_1_0_gir_LIBS = \ $(top_builddir)/src/gudev/libgudev-1.0.la \ -- cgit v1.2.3-54-g00ecf