1From 7888f8f24ec08cdfd51929cde4e177396d7504e7 Mon Sep 17 00:00:00 2001 2From: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> 3Date: Thu, 28 Dec 2017 20:22:00 +0100 4Subject: [PATCH] nilfs_cleanerd: link dynamically 5 6When nilfs_cleanerd does not run due to shared object problems, 7nilfs2 filesystems may run out of space soon. 8This logic that justified linking nilfs_cleanerd statically 9does IMO not apply to embedded systems built by buildroot. 10This commit therefore drops the static linking. 11 12Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> 13--- 14 sbin/cleanerd/Makefile.am | 2 -- 15 1 file changed, 2 deletions(-) 16 17diff --git a/sbin/cleanerd/Makefile.am b/sbin/cleanerd/Makefile.am 18index 3a5335d..06f0847 100644 19--- a/sbin/cleanerd/Makefile.am 20+++ b/sbin/cleanerd/Makefile.am 21@@ -9,8 +9,6 @@ nilfs_cleanerd_SOURCES = cleanerd.c cldconfig.c \ 22 nilfs_cleanerd_CFLAGS = -Wall 23 nilfs_cleanerd_CPPFLAGS = -I$(top_srcdir)/include \ 24 -DSYSCONFDIR=\"$(sysconfdir)\" 25-# Use -static option to make nilfs_cleanerd self-contained. 26-nilfs_cleanerd_LDFLAGS = -static 27 28 dist_sysconf_DATA = nilfs_cleanerd.conf 29 30-- 311.8.5.rc3 32 33