Fix the aprotoc target for Windows.

Allows aprotoc.exe to be cross-compiled when building the Windows SDK.

Change-Id: I7e1eec945b5578e1fe6c368b128fe1f9396f491c
This commit is contained in:
Leandro Gracia Gil 2014-07-28 15:27:19 -07:00
parent 23c5978a76
commit b596f9c7b4

View File

@ -347,10 +347,14 @@ LOCAL_SRC_FILES := $(COMPILER_SRC_FILES)
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/android \
external/zlib \
$(LOCAL_PATH)/src
LOCAL_STATIC_LIBRARIES += libz
ifneq ($(HOST_OS),windows)
LOCAL_LDLIBS := -lpthread
endif
LOCAL_CFLAGS := $(IGNORED_WARNINGS)