summaryrefslogtreecommitdiff
path: root/libc/stdlib/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/Makefile.in')
-rw-r--r--libc/stdlib/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in
index 26bc78201..d8983389d 100644
--- a/libc/stdlib/Makefile.in
+++ b/libc/stdlib/Makefile.in
@@ -62,7 +62,10 @@ CSRC:= \
getpt.c ptsname.c grantpt.c unlockpt.c gcvt.c drand48-iter.c jrand48.c \
jrand48_r.c lrand48.c lrand48_r.c mrand48.c mrand48_r.c nrand48.c \
nrand48_r.c rand_r.c srand48.c srand48_r.c seed48.c seed48_r.c \
- valloc.c posix_memalign.c a64l.c l64a.c arc4random.c
+ valloc.c posix_memalign.c a64l.c l64a.c
+ifeq ($(UCLIBC_HAS_ARC4RANDOM),y)
+CSRC+=arc4random.c
+endif
ifeq ($(UCLIBC_HAS_LFS),y)
CSRC+=mkstemp64.c
endif