diff options
author | Joe Slater <jslater@windriver.com> | 2012-06-07 16:37:01 -0700 |
---|---|---|
committer | Scott Garman <scott.a.garman@intel.com> | 2012-10-25 18:03:34 -0700 |
commit | 500c9c1e0047ba9f35e3591f4252fe2dd38bc4f1 (patch) | |
tree | 51692f95c5ec36342ac35ceacb74d02d3e0b1767 /meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch | |
parent | 0baef81f0ebf854b3e3e78b0d3745cc8ad41491e (diff) | |
download | openembedded-core-500c9c1e0047ba9f35e3591f4252fe2dd38bc4f1.tar.gz openembedded-core-500c9c1e0047ba9f35e3591f4252fe2dd38bc4f1.tar.bz2 openembedded-core-500c9c1e0047ba9f35e3591f4252fe2dd38bc4f1.zip |
gettext: install libgettextlib.a before removing it
In a multiple job build, Makefile can simultaneously
be installing and removing libgettextlib.a. We serialize
the operations.
(From OE-Core rev: 2750546b2152eecdbb37e963a2495383f6944184)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch b/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch new file mode 100644 index 0000000000..4ca44cce88 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch @@ -0,0 +1,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 ;; \ |