Change-Id: Iba2edba969283de9aa117f43f9568e325c7acd9a
Signed-off-by: greatim <jaewon81.lim@samsung.com>
ifeq ($(HOST_OS),darwin)
CC := clang
+ CXX := clang++
endif
#
ifeq ($(HOST_OS),linux)
LOCAL_USB_SRC := src/usb_darwin.c
LOCAL_UTIL_SRC := src/utils_unix.c
LOCAL_OTHER_SRC := src/fdevent.c src/fdevent_unix.c src/auto_complete.c
- LOCAL_LFLAGS := -lpthread -lcrypto -framework CoreFoundation -framework IOKit -framework Carbon
+ LOCAL_LFLAGS := -stdlib=libstdc++ -lpthread -lcrypto -framework CoreFoundation -framework IOKit -framework Carbon
LOCAL_CFLAGS := -DOS_DARWIN -DHAVE_FORKEXEC -DHAVE_SYMLINKS -mmacosx-version-min=10.4 -DSDB_HOST=1 -DSDB_HOST_ON_TARGET=1
endif