summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-23 18:56:16 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-23 18:56:16 -0500
commit6cb86c3a330caedc323599cb11fbed4138958271 (patch)
tree6b0f1e44d69ed1d043b23f5f64e9f7e8b9830c07 /src/libudev/Makefile.am
parente5cc2b881fd1db175b0d80bcccf21ae70857a532 (diff)
Propagation of configured installation paths to Makefile.am and .c code
This commit is a continuation of the previous one in which all the configured paths obtained in configure.ac are propagated to the Makefile.am and .c files via AM_CPPFLAGS of the form -DUDEV_CONF_FILE=\"$(udevconffile)\". This should address the issue in https://github.com/gentoo/eudev/issues/17 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/Makefile.am')
-rw-r--r--src/libudev/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
index 36647d13ed..9ccc3fe9ab 100644
--- a/src/libudev/Makefile.am
+++ b/src/libudev/Makefile.am
@@ -5,6 +5,8 @@ LIBUDEV_REVISION=0
LIBUDEV_AGE=2
AM_CPPFLAGS = \
+ -DUDEV_CONF_FILE=\"$(udevconffile)\" \
+ -DUDEV_HWDB_BIN=\"$(udevhwdbbin)\" \
-I $(top_srcdir)/src/udev
lib_LTLIBRARIES = \