am 468ecb95: fix failing test.
Merge commit '468ecb9591c35466d0a89b96d205da636a6f66a1' into eclair-plus-aosp
* commit '468ecb9591c35466d0a89b96d205da636a6f66a1':
fix failing test.
diff --git a/dist/Android.mk b/dist/Android.mk
index 0200276..c470bfe 100644
--- a/dist/Android.mk
+++ b/dist/Android.mk
@@ -100,7 +100,10 @@
LOCAL_CFLAGS += -DHAVE_READLINE=1
endif
-LOCAL_LDLIBS += -lpthread -ldl
+LOCAL_LDLIBS += -lpthread
+ifneq ($(HOST_OS),freebsd)
+LOCAL_LDLIBS += -ldl
+endif
ifneq ($(strip $(have_readline)),)
LOCAL_LDLIBS += -lreadline -lncurses