summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-07-15 22:10:46 +0200
committerKay Sievers <kay@vrfy.org>2012-07-15 22:10:46 +0200
commit4cb72937d3c10948e4904388ea27efae75775f08 (patch)
treebf7feaedf35aece23c30365747e75204b762ba60 /Makefile.am
parentcf3fb69acba245356022ccc087da640a6093584d (diff)
udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am16
1 files changed, 2 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am
index d9fb72f8e5..c9ea8047ad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1756,22 +1756,10 @@ test_libudev_LDADD = \
libudev.la
test_udev_SOURCES = \
- src/test/test-udev.c \
- $(libudev_core_la_SOURCES) \
- $(libudev_private_la_SOURCES)
-
-# The test-udev program needs everything compiled with relative path
-# names for /sys, /dev, /run prefixed, pointing to our test/ directory.
-test_udev_CFLAGS = \
- -DTEST_PREFIX=\"test\" \
- $(libudev_core_la_CFLAGS) \
- $(libudev_private_la_CFLAGS)
-
-test_udev_CPPFLAGS =\
- $(libudev_core_la_CPPFLAGS)
+ src/test/test-udev.c
test_udev_LDADD = \
- libsystemd-label.la \
+ libudev-core.la \
libsystemd-shared.la \
$(BLKID_LIBS) \
$(KMOD_LIBS) \