summaryrefslogtreecommitdiff
path: root/src/gudev/Makefile.am
diff options
context:
space:
mode:
authorNick Vinson <nvinson234@gmail.com>2012-11-29 06:57:18 -0500
committerNick Vinson <nvinson234@gmail.com>2012-12-01 15:57:43 -0500
commitb6ec669a402641aa8c21d45ca3e244e394b424fa (patch)
tree6d02663fce33704aa447ab1222ce39dc307f413b /src/gudev/Makefile.am
parent0de7e6af114aae2e19af0b3574f91de8df89a4c3 (diff)
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.
Diffstat (limited to 'src/gudev/Makefile.am')
-rw-r--r--src/gudev/Makefile.am6
1 files changed, 4 insertions, 2 deletions
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 \