summaryrefslogtreecommitdiff
path: root/src/cdrom_id
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdrom_id')
-rw-r--r--src/cdrom_id/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cdrom_id/Makefile.am b/src/cdrom_id/Makefile.am
index b08faeb77a..d5168b29cc 100644
--- a/src/cdrom_id/Makefile.am
+++ b/src/cdrom_id/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 = \
cdrom_id
@@ -10,5 +14,5 @@ cdrom_id_SOURCES = \
cdrom_id.c
cdrom_id_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