aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch
blob: 4ca44cce88b42ae4de77b364441167ead4a97094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
instal libgettextlib.a before removing it

In a multiple job build, Makefile can simultaneously
be installing and removing libgettextlib.a.  We serialize
the operations.

Signed-off-by: Joe Slater <jslater@windriver.com>

--- a/gettext-tools/gnulib-lib/Makefile.am
+++ b/gettext-tools/gnulib-lib/Makefile.am
@@ -57,6 +57,10 @@ endif
 # Rules generated and collected by gnulib-tool.
 include Makefile.gnulib
 
+# defined in Makefile.gnulib but missing this dependency
+#
+install-exec-clean: install-libLTLIBRARIES
+
 # Which classes to export from the shared library.
 MOOPPFLAGS += --dllexport=styled_ostream
 
--- a/gettext-tools/src/Makefile.am
+++ b/gettext-tools/src/Makefile.am
@@ -229,8 +229,8 @@ libgettextsrc_la_LDFLAGS += -Wl,--export
 endif
 
 # No need to install libgettextsrc.a, except on AIX.
-install-exec-local: install-libLTLIBRARIES install-exec-clean
-install-exec-clean:
+install-exec-local: install-exec-clean
+install-exec-clean: install-libLTLIBRARIES
 	case "@host_os@" in \
 	  aix*) ;; \
 	  *) $(RM) $(DESTDIR)$(libdir)/libgettextsrc.a ;; \