summaryrefslogtreecommitdiff
path: root/package/e2fsprogs/patches/001-fix_abs_shlibs_symlinks.patch
blob: e6dd084accb79044f06e5253eabca3a92d27e63a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/Makefile.elf-lib
+++ b/lib/Makefile.elf-lib
@@ -45,7 +45,7 @@ install-shlibs install:: $(ELF_LIB) inst
 	@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)