aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Mertz <scott@cyngn.com>2015-01-15 09:59:29 -0800
committerScott Mertz <scott@cyngn.com>2015-01-15 18:00:45 +0000
commit74dcb12b8087e596698624177e5af173a6ff814f (patch)
tree7a3ac4bb91d1c6a45be912909368f7742b3114e3
parentb05d350ba042e911c69bfa92cb31dbdf6fd5fdef (diff)
downloadandroid_libnativehelper-74dcb12b8087e596698624177e5af173a6ff814f.tar.gz
android_libnativehelper-74dcb12b8087e596698624177e5af173a6ff814f.tar.bz2
android_libnativehelper-74dcb12b8087e596698624177e5af173a6ff814f.zip
Change-Id: I0e0e63966502d31d7b7a63e71adedf68d1b24d27
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4e8fcee..213b61f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -78,6 +78,9 @@ LOCAL_CFLAGS := -Werror -fvisibility=protected
LOCAL_C_INCLUDES := libcore/include
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_LDFLAGS := -ldl
+ifeq ($(strip $(HOST_OS)),darwin)
+LOCAL_LDFLAGS += -Wl,-lstdc++
+endif
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MULTILIB := both
include $(BUILD_HOST_SHARED_LIBRARY)