From 2c5faba2a34d5feb9a6ea9d4fd9bf94ce914a19d Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Sun, 6 Oct 2013 16:29:04 +0200 Subject: make system-bluez build not use -I$S/bluez_bluetooth/inc in sd... Change-Id: Icdd90a7aadf7cfbc464e11a1e0386576cbc5c06c --- sd/Library_sd.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sd/Library_sd.mk') diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk index 3ec4771aaef1..be29e38262e6 100644 --- a/sd/Library_sd.mk +++ b/sd/Library_sd.mk @@ -38,13 +38,18 @@ $(eval $(call gb_Library_add_sdi_headers,sd,\ $(eval $(call gb_Library_set_include,sd,\ $$(INCLUDE) \ - -I$(SRCDIR)/bluez_bluetooth/inc \ -I$(SRCDIR)/sd/inc \ -I$(SRCDIR)/sd/source/ui/inc \ -I$(SRCDIR)/sd/source/ui/slidesorter/inc \ -I$(WORKDIR)/SdiTarget/sd/sdi \ )) +ifneq ($(SYSTEM_BLUEZ),YES) +$(eval $(call gb_Library_add_cxxflags,sd,\ + -I$(SRCDIR)/bluez_bluetooth/inc \ +)) +endif + $(eval $(call gb_Library_add_defs,sd,\ -DSD_DLLIMPLEMENTATION \ )) -- cgit v1.2.3