summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2016-08-20 11:03:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-28 15:32:48 +0100
commit342646a682003b0aa90e6fb1ca3a8a775f5b6a0a (patch)
tree1373ed5b38374ee833603d3994e48d2527c2f436
parent0968fa52cfdb5cf1b2f502acd1c4090050bea0c2 (diff)
gettext_0.19.4.bbappend: Update for later versions
Modified to work properly with later versions. Only static build supported. (Tested up to 0.19.8.1) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--recipes-core/gettext/gettext_0.19.%.bbappend6
-rw-r--r--recipes-core/gettext/gettext_0.19.4.bbappend2
2 files changed, 6 insertions, 2 deletions
diff --git a/recipes-core/gettext/gettext_0.19.%.bbappend b/recipes-core/gettext/gettext_0.19.%.bbappend
new file mode 100644
index 0000000..efd10d6
--- /dev/null
+++ b/recipes-core/gettext/gettext_0.19.%.bbappend
@@ -0,0 +1,6 @@
+DEPENDS_append_mingw32 = " pthreads-win32"
+LDFLAGS_prepend_mingw32 = " -lpthread "
+
+CFLAGS_append_mingw32 = " -DLIBXML_STATIC"
+EXTRA_OECONF_append_mingw32 = " --enable-threads=windows --enable-static --disable-shared "
+
diff --git a/recipes-core/gettext/gettext_0.19.4.bbappend b/recipes-core/gettext/gettext_0.19.4.bbappend
deleted file mode 100644
index ac76feb..0000000
--- a/recipes-core/gettext/gettext_0.19.4.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-DEPENDS_append_mingw32 = " pthreads-win32"
-LDFLAGS_prepend_mingw32 = " -lpthread "