Define REALM_ENABLE_SYNC when building for Android (#803)

This commit is contained in:
Yavor Georgiev 2017-01-18 15:36:32 +01:00 committed by Kristian Dupont
parent fa8088348d
commit 41869a3f94

View File

@ -18,7 +18,9 @@ APP_CPPFLAGS += -fomit-frame-pointer
APP_LDFLAGS := -Wl,--build-id
APP_LDFLAGS += -llog
APP_LDFLAGS += -landroid
ifeq ($(strip $(BUILD_TYPE_SYNC)),1)
APP_CPPFLAGS += -DREALM_ENABLE_SYNC=1
APP_LDFLAGS += -lz
endif