Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | |
| 2 | When /etc/ld.so.cache is writeable by user running bitbake then it creates invalid cache |
| 3 | (in my case libstdc++.so cannot be found after building zlib(-native) and I have to call |
| 4 | touch */libstdc++.so && /sbin/ldconfig to fix it. |
| 5 | |
| 6 | So remove ldconfig call from make install-libs |
| 7 | |
| 8 | Upstream-Status: Inappropriate [disable feature] |
| 9 | |
| 10 | diff -uNr zlib-1.2.6.orig/Makefile.in zlib-1.2.6/Makefile.in |
| 11 | --- zlib-1.2.6.orig/Makefile.in 2012-01-28 23:48:50.000000000 +0100 |
| 12 | +++ zlib-1.2.6/Makefile.in 2012-02-13 15:38:20.577700723 +0100 |
| 13 | @@ -199,7 +199,6 @@ |
| 14 | rm -f $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \ |
| 15 | ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB); \ |
| 16 | ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \ |
| 17 | - ($(LDCONFIG) || true) >/dev/null 2>&1; \ |
| 18 | fi |
| 19 | cp zlib.3 $(DESTDIR)$(man3dir) |
| 20 | chmod 644 $(DESTDIR)$(man3dir)/zlib.3 |