diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-09 18:00:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-09 18:00:44 +0200 |
commit | e0894f567ad379f554300886ae3adf087be1efa2 (patch) | |
tree | 6de585b75c3748962adcffde6c4b980a495070d2 /Makefile.flags | |
parent | 831756bac440ce5f582305a81fd2b842eb255fc3 (diff) | |
download | busybox-w32-e0894f567ad379f554300886ae3adf087be1efa2.tar.gz busybox-w32-e0894f567ad379f554300886ae3adf087be1efa2.tar.bz2 busybox-w32-e0894f567ad379f554300886ae3adf087be1efa2.zip |
Android build fixes and alternate (hopefully simpler) defconfig for it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index b3e13713d..7e1c6030c 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -97,7 +97,12 @@ CFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_CFLAGS))) | |||
97 | #")) | 97 | #")) |
98 | endif | 98 | endif |
99 | 99 | ||
100 | ifneq ($(CONFIG_CROSS_COMPILER_PREFIX),"arm-linux-androideabi-") | ||
100 | LDLIBS += m crypt | 101 | LDLIBS += m crypt |
102 | else | ||
103 | # Android libc has no crypt. TODO: make a generic CONFIG_LINK_WITH_CRYPT option? | ||
104 | LDLIBS += m | ||
105 | endif | ||
101 | 106 | ||
102 | ifeq ($(CONFIG_PAM),y) | 107 | ifeq ($(CONFIG_PAM),y) |
103 | LDLIBS += pam pam_misc | 108 | LDLIBS += pam pam_misc |