diff options
| author | Benjamin Marzinski <bmarzins@fedoraproject.org> | 2008-05-20 04:37:41 +0000 |
|---|---|---|
| committer | Benjamin Marzinski <bmarzins@fedoraproject.org> | 2008-05-20 04:37:41 +0000 |
| commit | 685fcac1ef870c2b6543bd320a60721f4bc273c2 (patch) | |
| tree | 3bbd7768f08413e12194c0108b0fc7df0b07144f /linking_change.patch | |
| parent | ab958e7caf0c2e17dc87701c0c86125efdb9be0d (diff) | |
Updated to latest Upstream 0.4.8 code: multipath-tools-080519.tgz (gitdevice-mapper-multipath-0_4_8-1_fc10
commit id: 42704728855376d2f7da2de1967d7bc71bc54a2f)
Diffstat (limited to 'linking_change.patch')
| -rw-r--r-- | linking_change.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/linking_change.patch b/linking_change.patch new file mode 100644 index 0000000..69cea86 --- /dev/null +++ b/linking_change.patch @@ -0,0 +1,50 @@ +Index: multipath-tools-080519/libmultipath/Makefile +=================================================================== +--- multipath-tools-080519.orig/libmultipath/Makefile ++++ multipath-tools-080519/libmultipath/Makefile +@@ -23,14 +23,16 @@ endif + all: $(LIBS) + + $(LIBS): $(OBJS) +- $(CC) $(SHARED_FLAGS) $(CFLAGS) -o $@ $(OBJS) ++ $(CC) $(SHARED_FLAGS) -Wl,-soname,$@ $(CFLAGS) -o $@ $(OBJS) + + install: ++ $(INSTALL_PROGRAM) -d $(DESTDIR)$(prefix)/lib ++ $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(prefix)/lib/$(LIBS) + $(INSTALL_PROGRAM) -o root -g root -m 755 -d $(DESTDIR)$(libdir) +- $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(libdir)/$(LIBS) ++ ldconfig + + uninstall: +- rm -f $(DESTDIR)$(libdir)/$(LIBS) ++ rm -f $(DESTDIR)$(prefix)/lib/$(LIBS) + + clean: + rm -f core *.a *.o *.gz *.so +Index: multipath-tools-080519/multipath/Makefile +=================================================================== +--- multipath-tools-080519.orig/multipath/Makefile ++++ multipath-tools-080519/multipath/Makefile +@@ -6,7 +6,7 @@ include ../Makefile.inc + + OBJS = main.o + +-CFLAGS += -I$(multipathdir) -Wl,-rpath,$(libdir) ++CFLAGS += -I$(multipathdir) + LDFLAGS += -lpthread -ldevmapper -laio -ldl \ + -lmultipath -L$(multipathdir) + +Index: multipath-tools-080519/multipathd/Makefile +=================================================================== +--- multipath-tools-080519.orig/multipathd/Makefile ++++ multipath-tools-080519/multipathd/Makefile +@@ -5,7 +5,7 @@ include ../Makefile.inc + # + # basic flags setting + # +-CFLAGS += -I$(multipathdir) -Wl,-rpath,$(libdir) ++CFLAGS += -I$(multipathdir) + LDFLAGS += -lpthread -ldevmapper -lreadline -lncurses -laio -ldl \ + -lmultipath -L$(multipathdir) + |
