Fix liblog declaration in Makefile to make it more NDK-build friendly
Change-Id: I1459124b84e1db9df13700514f8029851bc21c97main
parent
11bb2ffd4a
commit
b543c9c1bc
|
@ -89,11 +89,11 @@ LOCAL_WHOLE_STATIC_LIBRARIES := libjni_latinime_common_static
|
||||||
|
|
||||||
ifeq ($(FLAG_DO_PROFILE), true)
|
ifeq ($(FLAG_DO_PROFILE), true)
|
||||||
$(warning Making profiling version of native library)
|
$(warning Making profiling version of native library)
|
||||||
LOCAL_SHARED_LIBRARIES += liblog
|
LOCAL_LDFLAGS += -llog
|
||||||
else # FLAG_DO_PROFILE
|
else # FLAG_DO_PROFILE
|
||||||
ifeq ($(FLAG_DBG), true)
|
ifeq ($(FLAG_DBG), true)
|
||||||
$(warning Making debug version of native library)
|
$(warning Making debug version of native library)
|
||||||
LOCAL_SHARED_LIBRARIES += liblog
|
LOCAL_LDFLAGS += -llog
|
||||||
endif # FLAG_DBG
|
endif # FLAG_DBG
|
||||||
endif # FLAG_DO_PROFILE
|
endif # FLAG_DO_PROFILE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue