summaryrefslogtreecommitdiffstats
path: root/abs/core/e2fsprogs/Makefile-fsck.static.patch
blob: a00644315f73ffaa6ca1f52d91ad36c0b0dbb2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- e2fsprogs-1.40.4/misc/Makefile	2008-01-16 14:52:53.000000000 +0000
+++ e2fsprogs-1.40.4/misc/Makefile.neu	2008-01-16 14:53:43.000000000 +0000
@@ -376,6 +376,10 @@
 	@echo "	LD $@"
 	@$(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBS_BLKID) $(LIBINTL)
 
+fsck.static: $(FSCK_OBJS) $(DEPSTATIC_LIBBLKID)
+	@echo "	LD $@"
+	@$(CC) $(ALL_LDFLAGS) -static -o fsck.static $(FSCK_OBJS) $(STATIC_LIBBLKID) $(DEPSTATIC_LIBUUID) $(LIBINTL)
+
 badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
 	@echo "	LD $@"
 	@$(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) $(LIBINTL)