aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-11-17 07:40:47 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2012-11-19 08:22:28 -0600
commite75fce6cda8cd515645e0bd16ed4ef6260d777c7 (patch)
tree8b12b7ee18a5c134231eb424d3db1f4682620d21
parente24dc9feb0d68142d54dc3c097f57588836d1338 (diff)
rng-random: only build on POSIX platforms
There is no /dev/random on win32. Cc: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--backends/Makefile.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/Makefile.objs b/backends/Makefile.objs
index 875eebce6a..883676106b 100644
--- a/backends/Makefile.objs
+++ b/backends/Makefile.objs
@@ -1 +1,2 @@
-common-obj-y += rng.o rng-random.o rng-egd.o
+common-obj-y += rng.o rng-egd.o
+common-obj-$(CONFIG_POSIX) += rng-random.o