diff options
-rw-r--r-- | Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |