add a patch to use relative symlinks for development shared libraries
authorNicolas Thill <nico@openwrt.org>
Wed, 20 Aug 2008 16:01:33 +0000 (16:01 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 20 Aug 2008 16:01:33 +0000 (16:01 +0000)
SVN-Revision: 12355

package/e2fsprogs/patches/001-fix_abs_shlibs_symlinks.patch [new file with mode: 0644]

diff --git a/package/e2fsprogs/patches/001-fix_abs_shlibs_symlinks.patch b/package/e2fsprogs/patches/001-fix_abs_shlibs_symlinks.patch
new file mode 100644 (file)
index 0000000..8098bb2
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ruN e2fsprogs-1.40.11.orig/lib/Makefile.elf-lib e2fsprogs-1.40.11/lib/Makefile.elf-lib
+--- e2fsprogs-1.40.11.orig/lib/Makefile.elf-lib        2008-01-01 22:47:01.000000000 +0100
++++ e2fsprogs-1.40.11/lib/Makefile.elf-lib     2008-08-13 13:32:47.206558190 +0200
+@@ -45,7 +45,7 @@
+       @echo " SYMLINK $(ELF_INSTALL_DIR)/$(ELF_SONAME)"
+       @$(LN_S) -f $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME)
+       @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so"
+-      @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
++      @$(LN_S) -f $(ELF_SONAME) \
+               $(DESTDIR)$(libdir)/$(ELF_IMAGE).so
+       @echo " LDCONFIG"
+       @-$(LDCONFIG)