1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-27 19:37:10 +00:00
Files
poky/meta/recipes-core/zlib/zlib-1.2.7/remove.ldconfig.call.patch
Eric Bénard 3c97806c29 zlib: upgrade to 1.2.7
1.2.6 is no more fetchable and 1.2.7 fix some bugs, full changelog is
available here : http://zlib.net/ChangeLog.txt

(From OE-Core rev: 2f071e32128d8c022277c8af72dae47f60cf212b)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-09 21:42:52 +01:00

21 lines
891 B
Diff

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