diff options
author | David 'Digit' Turner <digit@google.com> | 2014-12-01 18:20:38 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-12-01 18:20:38 +0100 |
commit | 182e4691d1c5e724fc60ed94b6de8a3356018cb6 (patch) | |
tree | c4940030f5b9e9a24f01e899a1581c383595683a /emulator | |
parent | b8f9fbd141ca6d878d5d3f4525e53bd0a2ee16ef (diff) | |
download | sdk-182e4691d1c5e724fc60ed94b6de8a3356018cb6.zip sdk-182e4691d1c5e724fc60ed94b6de8a3356018cb6.tar.gz sdk-182e4691d1c5e724fc60ed94b6de8a3356018cb6.tar.bz2 |
emulator/opengl: Fix Windows cross-build.
When building the host version of the gtest library, always
include -lpthread as part of LOCAL_LDLIBS, otherwise the build
will fail when cross-compiling for Windows on Linux.
Change-Id: I8614f9e6d543dbba910b9495d6c1bd59e7c61004
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/opengl/googletest.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/opengl/googletest.mk b/emulator/opengl/googletest.mk index 12760b2..7cc511d 100644 --- a/emulator/opengl/googletest.mk +++ b/emulator/opengl/googletest.mk @@ -45,6 +45,6 @@ LOCAL_CFLAGS += $(common_CFLAGS) LOCAL_C_INCLUDES += $(LOCAL_PATH)/include LOCAL_CPP_EXTENSION := .cc $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)/include) -$(call emugl-export,LDLIBS,$(common_LDLIBS)) +$(call emugl-export,LDLIBS,$(common_LDLIBS) -lpthread) LOCAL_HOST_BUILD := true $(call emugl-end-module) |