From: Emil Velikov <emil.l.velikov@xxxxxxxxx> Currently we ship the service files, even when built with --disable-obex. Move the if OBEX guard few lines further up. Signed-off-by: Emil Velikov <emil.l.velikov@xxxxxxxxx> --- Makefile.obexd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.obexd b/Makefile.obexd index b91ca6644..4a89e0335 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -1,4 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 +if OBEX + if SYSTEMD systemduserunitdir = $(SYSTEMD_USERUNITDIR) systemduserunit_DATA = obexd/src/obex.service @@ -7,7 +9,6 @@ endif dbussessionbusdir = $(DBUS_SESSIONBUSDIR) dbussessionbus_DATA = obexd/src/org.bluez.obex.service -if OBEX obex_plugindir = $(libdir)/obex/plugins -- 2.43.1