Merge "Fix build on some linux machines"

This commit is contained in:
Jean-Baptiste Queru
2010-08-11 09:55:36 -07:00
committed by Android Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ LOCAL_STATIC_LIBRARIES := \
libpng
ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -lrt
LOCAL_LDLIBS += -lrt -lpthread
endif
# Statically link libz for MinGW (Win SDK under Linux),

View File

@@ -34,7 +34,7 @@ LOCAL_STATIC_LIBRARIES := \
libcutils
ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -lrt
LOCAL_LDLIBS += -lrt -lpthread
endif