Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | When /etc/ld.so.cache is writeable by user running bitbake then it creates invalid cache |
| 2 | (in my case libstdc++.so cannot be found after building zlib(-native) and I have to call |
| 3 | touch */libstdc++.so && /sbin/ldconfig to fix it. |
| 4 | |
| 5 | So remove ldconfig call from make install-libs |
| 6 | |
| 7 | Upstream-Status: Inappropriate [disable feature] |
| 8 | |
| 9 | diff -uNr wireless_tools.29.orig/Makefile wireless_tools.29/Makefile |
| 10 | --- wireless_tools.29.orig/Makefile 2007-09-18 01:56:46.000000000 +0200 |
| 11 | +++ wireless_tools.29/Makefile 2012-02-15 20:46:41.780763514 +0100 |
| 12 | @@ -163,7 +163,6 @@ |
| 13 | install -m 755 $(DYNAMIC) $(INSTALL_LIB) |
| 14 | ln -sfn $(DYNAMIC) $(INSTALL_LIB)/$(DYNAMIC_LINK) |
| 15 | @echo "*** Don't forget to add $(INSTALL_LIB) to /etc/ld.so.conf, and run ldconfig as root. ***" |
| 16 | - @$(LDCONFIG) || echo "*** Could not run ldconfig ! ***" |
| 17 | |
| 18 | # Install the static library |
| 19 | install-static:: $(STATIC) |