projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: resolve hosts to IPs in nfs mounts
[oweals/busybox.git]
/
Makefile.flags
diff --git
a/Makefile.flags
b/Makefile.flags
index b3e13713d8934adfcaee2c8068522479bc75072a..7e1c6030c7dee8268bfb20e2711c874afbcb1025 100644
(file)
--- a/
Makefile.flags
+++ b/
Makefile.flags
@@
-97,7
+97,12
@@
CFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_CFLAGS)))
#"))
endif
#"))
endif
+ifneq ($(CONFIG_CROSS_COMPILER_PREFIX),"arm-linux-androideabi-")
LDLIBS += m crypt
LDLIBS += m crypt
+else
+# Android libc has no crypt. TODO: make a generic CONFIG_LINK_WITH_CRYPT option?
+LDLIBS += m
+endif
ifeq ($(CONFIG_PAM),y)
LDLIBS += pam pam_misc
ifeq ($(CONFIG_PAM),y)
LDLIBS += pam pam_misc