summaryrefslogtreecommitdiff
path: root/src/collect/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/collect/Makefile.am')
-rw-r--r--src/collect/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/collect/Makefile.am b/src/collect/Makefile.am
index 4c954b99a9..58bc818475 100644
--- a/src/collect/Makefile.am
+++ b/src/collect/Makefile.am
@@ -3,6 +3,10 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
rootprefix=@rootprefix@
udevlibexecdir=$(rootprefix)/lib/udev
+AM_CPPFLAGS = \
+ -I $(top_srcdir)/src/libudev \
+ -I $(top_srcdir)/src/udev
+
udevlibexec_PROGRAMS = \
collect
@@ -10,5 +14,5 @@ collect_SOURCES = \
collect.c
collect_LDADD = \
- $(top_srcdir)/src/libudev/libudev-private.la \
- $(top_srcdir)/src/udev/libudev-core.la
+ $(top_builddir)/src/libudev/libudev-private.la \
+ $(top_builddir)/src/udev/libudev-core.la