summaryrefslogtreecommitdiffstats
path: root/package/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'package/dbus')
-rw-r--r--package/dbus/dbus.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 158aeb571..eb97e767d 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -51,9 +51,9 @@ endif
$(eval $(call AUTOTARGETS,package,dbus))
-# fix rebuild if /var/lib is a symlink to /tmp
+# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink)
$(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
- rm -rf /tmp/dbus
+ rm -rf $(TARGET_DIR)/var/lib/dbus
touch $@
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)