OSDN Git Service

Merge "Fix corner cases in lit xunit for paths with dots"
[android-x86/external-llvm.git] / llvm-host-build.mk
index f3275ba..a3c9539 100644 (file)
@@ -51,8 +51,10 @@ LOCAL_C_INCLUDES :=  \
 
 # Add on ncurses to have support for terminfo
 ifneq ($(HOST_OS),windows)
-LOCAL_LDLIBS += -lncurses \
-                -lgcc_s
+LOCAL_LDLIBS += -lncurses
+ifneq ($(HOST_OS),darwin)
+LOCAL_LDLIBS += -lgcc_s
+endif
 endif
 
 LOCAL_IS_HOST_MODULE := true