From ab958e7caf0c2e17dc87701c0c86125efdb9be0d Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 6 May 2008 18:06:48 +0000 Subject: [PATCH] remove static from makefiles as static libs it uses have gone --- multipath-tools-0.4.7.head2-nostatic.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 multipath-tools-0.4.7.head2-nostatic.patch diff --git a/multipath-tools-0.4.7.head2-nostatic.patch b/multipath-tools-0.4.7.head2-nostatic.patch new file mode 100644 index 0000000..9f7a1e4 --- /dev/null +++ b/multipath-tools-0.4.7.head2-nostatic.patch @@ -0,0 +1,37 @@ +--- multipath-tools-0.4.7.head2/kpartx/Makefile 2006-10-12 17:16:09.000000000 +0100 ++++ multipath-tools-0.4.7.head2.new/kpartx/Makefile 2008-05-06 18:59:14.000000000 +0100 +@@ -24,7 +24,6 @@ + + glibc: clean $(OBJS) + $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) +- $(CC) $(OBJS) -o $(EXEC).static -static $(LDFLAGS) -lselinux -lsepol + + klibc: clean $(OBJS) + $(CC) -static -o $(EXEC) $(CRT0) $(OBJS) $(KLIBC) $(LIBGCC) +@@ -36,7 +35,6 @@ + install: + install -d $(DESTDIR)$(bindir) + install -m 755 $(EXEC) $(DESTDIR)$(bindir) +- install -m 755 $(EXEC).static $(DESTDIR)$(bindir) + install -d $(DESTDIR)$(mandir) + install -m 644 $(EXEC).8 $(DESTDIR)$(mandir) + +--- multipath-tools-0.4.7.head2/multipath/Makefile 2006-11-30 23:25:13.000000000 +0000 ++++ multipath-tools-0.4.7.head2.new/multipath/Makefile 2008-05-06 18:58:53.000000000 +0100 +@@ -21,7 +21,6 @@ + + glibc: clean $(OBJS) + $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) +- $(CC) $(OBJS) -o $(EXEC).static -static $(LDFLAGS) -lselinux -lsepol + $(CC) mpath_faker.c -o mpath_ctl $(CFLAGS) -static + + klibc: $(OBJS) +@@ -36,7 +35,7 @@ + + install: + install -d $(DESTDIR)$(bindir) +- install -m 755 $(EXEC) $(EXEC).static mpath_ctl mpath_wait $(DESTDIR)$(bindir)/ ++ install -m 755 $(EXEC) mpath_ctl mpath_wait $(DESTDIR)$(bindir)/ + install -d $(DESTDIR)/etc/udev/rules.d + install -m 644 multipath.rules $(DESTDIR)/etc/udev/rules.d/40-multipath.rules + install -d $(DESTDIR)$(mandir)