summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-bluez-external.diff
blob: 2fcd13536602bb0eb1a8713e177351f0cb47537f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 9d399e8e3f5a..d70b5216fe05 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -99,7 +99,6 @@ $(eval $(call gb_Library_use_libraries,sd,\
 ))
 
 $(eval $(call gb_Library_use_externals,sd,\
-	bluez_bluetooth_headers \
 	boost_headers \
 	libxml2 \
 	dbus \
@@ -575,6 +574,10 @@ $(eval $(call gb_Library_add_defs,sd,\
 	-DENABLE_SDREMOTE_BLUETOOTH \
 ))
 
+$(eval $(call gb_Library_use_externals,sd,\
+	bluez_bluetooth_headers \
+))
+
 endif # ENABLE_SDREMOTE_BLUETOOTH=TRUE
 
 endif # ENABLE_SDREMOTE=TRUE