diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.18.3.2/parallel.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.18.3.2/parallel.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.18.3.2/parallel.patch b/meta/recipes-core/gettext/gettext-0.18.3.2/parallel.patch new file mode 100644 index 0000000000..f2c567d188 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.18.3.2/parallel.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | instal libgettextlib.a before removing it | ||
2 | |||
3 | In a multiple job build, Makefile can simultaneously | ||
4 | be installing and removing libgettextlib.a. We serialize | ||
5 | the operations. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Joe Slater <jslater@windriver.com> | ||
10 | |||
11 | --- a/gettext-tools/gnulib-lib/Makefile.am | ||
12 | +++ b/gettext-tools/gnulib-lib/Makefile.am | ||
13 | @@ -57,6 +57,10 @@ endif | ||
14 | # Rules generated and collected by gnulib-tool. | ||
15 | include Makefile.gnulib | ||
16 | |||
17 | +# defined in Makefile.gnulib but missing this dependency | ||
18 | +# | ||
19 | +install-exec-clean: install-libLTLIBRARIES | ||
20 | + | ||
21 | # Which classes to export from the shared library. | ||
22 | MOOPPFLAGS += --dllexport=styled_ostream | ||
23 | |||
24 | --- a/gettext-tools/src/Makefile.am | ||
25 | +++ b/gettext-tools/src/Makefile.am | ||
26 | @@ -229,8 +229,8 @@ libgettextsrc_la_LDFLAGS += -Wl,--export | ||
27 | endif | ||
28 | |||
29 | # No need to install libgettextsrc.a, except on AIX. | ||
30 | -install-exec-local: install-libLTLIBRARIES install-exec-clean | ||
31 | -install-exec-clean: | ||
32 | +install-exec-local: install-exec-clean | ||
33 | +install-exec-clean: install-libLTLIBRARIES | ||
34 | case "@host_os@" in \ | ||
35 | aix*) ;; \ | ||
36 | *) $(RM) $(DESTDIR)$(libdir)/libgettextsrc.a ;; \ | ||