am 8f178b47: FOR MR3: add eventlog entry for all corruption cases in sqlite3.c

Merge commit '8f178b47c678d0b53c035b5066ad0d55f7399228' into eclair-plus-aosp

* commit '8f178b47c678d0b53c035b5066ad0d55f7399228':
  FOR MR3: add eventlog entry for all corruption cases in sqlite3.c
diff --git a/dist/Android.mk b/dist/Android.mk
index ec01ec6..c40eccb 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