Skip to content

Commit

Permalink
libjavacore: Fix OSX compilation
Browse files Browse the repository at this point in the history
Change-Id: I2219aab76ffd6ba33f508b63a8690d79801b502d
  • Loading branch information
chub committed Jan 10, 2015
1 parent 6774d91 commit cba0a67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NativeCode.mk
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ LOCAL_CPPFLAGS += $(core_cppflags)
LOCAL_LDLIBS += -ldl -lpthread
ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -lrt
else ifeq ($(HOST_OS),darwin)
LOCAL_LDFLAGS += -Wl,-lstdc++
endif
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjavacore
Expand Down

0 comments on commit cba0a67

Please sign in to comment.