diff options
author | Nick Vinson <nvinson234@gmail.com> | 2012-11-29 06:57:18 -0500 |
---|---|---|
committer | Nick Vinson <nvinson234@gmail.com> | 2012-12-01 15:57:43 -0500 |
commit | b6ec669a402641aa8c21d45ca3e244e394b424fa (patch) | |
tree | 6d02663fce33704aa447ab1222ce39dc307f413b | |
parent | 0de7e6af114aae2e19af0b3574f91de8df89a4c3 (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.
-rw-r--r-- | src/gudev/Makefile.am | 6 |
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 \ |