diff options
Diffstat (limited to 'sd/Library_sd.mk')
-rw-r--r-- | sd/Library_sd.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk index ba2fe9ef4ff8..ae4b8a59baea 100644 --- a/sd/Library_sd.mk +++ b/sd/Library_sd.mk @@ -513,7 +513,6 @@ $(eval $(call gb_Library_add_exception_objects,sd,\ ifeq ($(ENABLE_SDREMOTE),YES) $(eval $(call gb_Library_add_exception_objects,sd,\ - sd/source/ui/remotecontrol/BluetoothServer \ sd/source/ui/remotecontrol/BufferedStreamSocket \ sd/source/ui/remotecontrol/Communicator \ sd/source/ui/remotecontrol/DiscoveryService \ @@ -528,6 +527,16 @@ $(eval $(call gb_Library_add_defs,sd,\ -DENABLE_SDREMOTE \ )) +ifeq ($(ENABLE_BLUETOOTH),YES) +$(eval $(call gb_Library_add_exception_objects,sd,\ + sd/source/ui/remotecontrol/BluetoothServer \ +)) + +$(eval $(call gb_Library_add_defs,sd,\ + -DENABLE_BLUETOOTH \ +)) +endif + endif ifeq ($(strip $(GUI)),WNT) |