Skip to content

Commit e37ab63

Browse files
Jean-Baptiste QueruAndroid Code Review
authored andcommitted
Merge "Fix build on some linux machines"
2 parents c4c4c98 + b7ffaf6 commit e37ab63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/aapt/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ LOCAL_STATIC_LIBRARIES := \
4141
libpng
4242

4343
ifeq ($(HOST_OS),linux)
44-
LOCAL_LDLIBS += -lrt
44+
LOCAL_LDLIBS += -lrt -lpthread
4545
endif
4646

4747
# Statically link libz for MinGW (Win SDK under Linux),

tools/localize/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ LOCAL_STATIC_LIBRARIES := \
3434
libcutils
3535

3636
ifeq ($(HOST_OS),linux)
37-
LOCAL_LDLIBS += -lrt
37+
LOCAL_LDLIBS += -lrt -lpthread
3838
endif
3939

4040

0 commit comments

Comments
 (0)