OSDN Git Service

Missed a dependency on pthreads.
authorDan Albert <danalbert@google.com>
Fri, 7 Nov 2014 01:32:25 +0000 (17:32 -0800)
committerDan Albert <danalbert@google.com>
Fri, 7 Nov 2014 01:32:25 +0000 (17:32 -0800)
Change-Id: I060c9c65b07efe89a308fccf71a1096424a7de39

core/cxx_stl_setup.mk

index c688088..4f41daa 100644 (file)
@@ -35,7 +35,7 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
     ifdef LOCAL_IS_HOST_MODULE
         my_cppflags += -nostdinc++
         my_ldflags += -nodefaultlibs
-        my_ldlibs += -lc -lm
+        my_ldlibs += -lc -lm -lpthread
     endif
 else ifneq ($(filter $(my_cxx_stl),stlport stlport_static),)
     ifndef LOCAL_IS_HOST_MODULE