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>
This commit is contained in:
parent
5094da3232
commit
570c54262a
|
@ -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 ;; \
|
|
@ -5,13 +5,14 @@ SECTION = "libs"
|
||||||
LICENSE = "GPLv3+ & LGPL-2.1+"
|
LICENSE = "GPLv3+ & LGPL-2.1+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||||
|
|
||||||
PR = "r12"
|
PR = "r13"
|
||||||
DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
|
DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
|
||||||
DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"
|
DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"
|
||||||
PROVIDES = "virtual/libintl virtual/gettext"
|
PROVIDES = "virtual/libintl virtual/gettext"
|
||||||
PROVIDES_virtclass-native = "virtual/gettext-native"
|
PROVIDES_virtclass-native = "virtual/gettext-native"
|
||||||
CONFLICTS_${PN} = "proxy-libintl"
|
CONFLICTS_${PN} = "proxy-libintl"
|
||||||
SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
|
SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
|
||||||
|
file://parallel.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \
|
SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \
|
||||||
|
|
Loading…
Reference in New Issue