From 95986aae913d5bf0eb34b5de53a8022d97769dc6 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Fri, 3 Jan 2014 15:40:37 +0000 Subject: Fix a sporadic build breakage. The issue here is that the makefile sets LOCAL_LDFLAGS and asks for -llog without declaring a dependency on it. This will cause build breakages if liblog hasn't already been built yet. Change-Id: Ia38761cda44a38b6c2a88902d6108cbe64a328ce --- libziparchive/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libziparchive') diff --git a/libziparchive/Android.mk b/libziparchive/Android.mk index 5d836a1..e754c3b 100644 --- a/libziparchive/Android.mk +++ b/libziparchive/Android.mk @@ -49,7 +49,7 @@ LOCAL_CFLAGS += \ -DGTEST_OS_LINUX_ANDROID \ -DGTEST_HAS_STD_STRING LOCAL_SRC_FILES := zip_archive_test.cc -LOCAL_LDFLAGS := -llog +LOCAL_SHARED_LIBRARIES := liblog LOCAL_STATIC_LIBRARIES := libziparchive libz libgtest libgtest_main libutils include $(BUILD_NATIVE_TEST) -- cgit v1.1