summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch')
-rw-r--r--poky/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/poky/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch b/poky/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
new file mode 100644
index 000000000..7ccbe1f44
--- /dev/null
+++ b/poky/meta/recipes-core/zlib/zlib-1.2.11/remove.ldconfig.call.patch
@@ -0,0 +1,21 @@
+
+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]
+
+Index: zlib-1.2.11/Makefile.in
+===================================================================
+--- zlib-1.2.11.orig/Makefile.in
++++ zlib-1.2.11/Makefile.in
+@@ -322,7 +322,6 @@ install-libs: $(LIBS)
+ 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
+ rm -f $(DESTDIR)$(man3dir)/zlib.3
+ cp $(SRCDIR)zlib.3 $(DESTDIR)$(man3dir)
OpenPOWER on IntegriCloud