blob: 552726bb0af747a6d6d4f2daf81af5cf02691a9b [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 690f69791eb6cd0d7e94b4d73219ee864de27f62 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Mon, 10 Jan 2022 10:13:51 +0800
4Subject: [PATCH] libraries/Makefile.in: ignore the mkdir errors
5
6Ignore the mkdir errors to fix the parallel build failure:
7
8../../build/shtool mkdir -p TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-wrs-linux-gnueabi/openldap/2.5.9-r0/image/usr/lib
9mkdir: cannot create directory 'TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-wrs-linux-gnueabi/openldap/2.5.9-r0/image/usr/lib': File exists
10
11Upstream-Status: Pending
12
13Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
14---
15 libraries/Makefile.in | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/libraries/Makefile.in b/libraries/Makefile.in
19index d9cb2ff..c6b251f 100644
20--- a/libraries/Makefile.in
21+++ b/libraries/Makefile.in
22@@ -24,7 +24,7 @@ PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig
23 PKGCONFIG_SRCDIRS=liblber libldap
24
25 install-local:
26- @$(MKDIR) $(PKGCONFIG_DIR)
27+ @-$(MKDIR) $(PKGCONFIG_DIR)
28 @for i in $(PKGCONFIG_SRCDIRS); do \
29 $(INSTALL_DATA) $$i/*.pc $(PKGCONFIG_DIR); \
30 done
31--
322.17.1
33