diff options
author | Rene Engelhard <rene@debian.org> | 2013-10-06 16:29:04 +0200 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2013-10-06 16:29:20 +0200 |
commit | 2c5faba2a34d5feb9a6ea9d4fd9bf94ce914a19d (patch) | |
tree | 070736ed9acc1c3451e98f015fbb779977987f2d /sd | |
parent | a781ae0bb8a144a8be505dcb1e81b9b30bc250c9 (diff) |
make system-bluez build not use -I$S/bluez_bluetooth/inc in sd...
Change-Id: Icdd90a7aadf7cfbc464e11a1e0386576cbc5c06c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/Library_sd.mk | 7 |
1 files changed, 6 insertions, 1 deletions
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 \ )) |