Fix liblog declaration in Makefile to make it more NDK-build friendly

Change-Id: I1459124b84e1db9df13700514f8029851bc21c97
main
Ken Wakasa 2012-11-27 12:17:42 +09:00
parent 11bb2ffd4a
commit b543c9c1bc
1 changed files with 2 additions and 2 deletions

View File

@ -89,11 +89,11 @@ LOCAL_WHOLE_STATIC_LIBRARIES := libjni_latinime_common_static
ifeq ($(FLAG_DO_PROFILE), true)
$(warning Making profiling version of native library)
LOCAL_SHARED_LIBRARIES += liblog
LOCAL_LDFLAGS += -llog
else # FLAG_DO_PROFILE
ifeq ($(FLAG_DBG), true)
$(warning Making debug version of native library)
LOCAL_SHARED_LIBRARIES += liblog
LOCAL_LDFLAGS += -llog
endif # FLAG_DBG
endif # FLAG_DO_PROFILE