12 lines
461 B
Diff
12 lines
461 B
Diff
--- lib/Makefile.elf-lib
|
|
+++ lib/Makefile.elf-lib
|
|
@@ -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 `echo $(libdir)|sed -e 's,//*[^/][^/]*,/..,g' -e s,/,,`$(ELF_INSTALL_DIR)/$(ELF_SONAME) \
|
|
$(DESTDIR)$(libdir)/$(ELF_IMAGE).so
|
|
@echo " LDCONFIG"
|
|
@-$(LDCONFIG)
|