]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9840 - libraries/Makefile.in: ignore the mkdir errors
authorYi Zhao <yi.zhao@windriver.com>
Mon, 10 Jan 2022 02:13:51 +0000 (10:13 +0800)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 12 May 2022 15:44:37 +0000 (15:44 +0000)
Ignore the mkdir errors to fix the parallel build failure:

../../build/shtool mkdir -p TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-wrs-linux-gnueabi/openldap/2.5.9-r0/image/usr/lib
mkdir: cannot create directory 'TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-wrs-linux-gnueabi/openldap/2.5.9-r0/image/usr/lib': File exists

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
libraries/Makefile.in

index 5d0588980ce217fbb6aae2ce9d2f1d06ae2611e6..b3a9127ea35e69c62d9b16435020e9036e461ed7 100644 (file)
@@ -24,7 +24,7 @@ PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig
 PKGCONFIG_SRCDIRS=liblber libldap
 
 install-local:
-       @$(MKDIR) $(PKGCONFIG_DIR)
+       @-$(MKDIR) $(PKGCONFIG_DIR)
        @for i in $(PKGCONFIG_SRCDIRS); do \
            $(INSTALL_DATA) $$i/*.pc $(PKGCONFIG_DIR); \
        done