Merge "adns: remove dependency to lynx" into tizen
[scm/bb/meta-tizen.git] / meta-tizen-adaptation / meta / recipes-devtools / e2fsprogs / e2fsprogs / remove-ldconfig-call.patch
1 When /etc/ld.so.cache is writeable by user running bitbake then it creates
2 invalid cache (in my case libstdc++.so cannot be found after building
3 zlib(-native) and I have to call touch */libstdc++.so && /sbin/ldconfig to fix
4 it.
5
6 So remove ldconfig call from make install-libs
7
8 Patch authored by Martin Jansa.
9
10 Upstream-Status: Inappropriate [disable feature]
11
12 Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
14
15 diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib
16 index 78479d3..4a4a5ac 100644
17 --- a/lib/Makefile.elf-lib
18 +++ b/lib/Makefile.elf-lib
19 @@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK)
20         $(E) "  SYMLINK $(libdir)/$(ELF_IMAGE).so"
21         $(Q) $(INSTALL_SYMLINK) $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
22                 $(libdir)/$(ELF_IMAGE).so $(DESTDIR)
23 -       $(E) "  LDCONFIG"
24 -       $(Q) -$(LDCONFIG)
25  
26  install-strip: install
27         $(E) "  STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
28 @@ -67,7 +65,6 @@ uninstall-shlibs uninstall::
29         $(RM) -f $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) \
30                 $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME) \
31                 $(DESTDIR)$(libdir)/$(ELF_IMAGE).so
32 -       -$(LDCONFIG)
33  
34  clean::
35         $(RM) -rf elfshared