Fix world-readable permissions due to sqlite race condition - DO NOT MERGE am: cccf840917 -s ours am: fe453fb752 -s ours am: 07b874ecae am: 8e2817f3bc -s ours
am: df5881e006
* commit 'df5881e00677f07c29431cba63f1eb89f3a82b52':
Fix world-readable permissions due to sqlite race condition - DO NOT MERGE
diff --git a/dist/Android.mk b/dist/Android.mk
index 20b3a0a..44a3173 100644
--- a/dist/Android.mk
+++ b/dist/Android.mk
@@ -128,12 +128,10 @@
# sqlite3MemsysAlarm uses LOG()
LOCAL_STATIC_LIBRARIES += liblog
-ifeq ($(strip $(USE_MINGW)),)
-LOCAL_LDLIBS += -lpthread
-ifneq ($(HOST_OS),freebsd)
-LOCAL_LDLIBS += -ldl
-endif
-endif
+LOCAL_LDLIBS_darwin += -lpthread -ldl
+LOCAL_LDLIBS_linux += -lpthread -ldl
+
+LOCAL_MODULE_HOST_OS := darwin linux windows
LOCAL_MODULE := sqlite3