[yocto] [meta-mingw][PATCH 2/7] gettext_0.19.4.bbappend: Update for later versions

Juro Bystricky juro.bystricky at intel.com
Sat Aug 20 11:03:56 PDT 2016


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 at intel.com>
---
 recipes-core/gettext/gettext_0.19.%.bbappend | 6 ++++++
 recipes-core/gettext/gettext_0.19.4.bbappend | 2 --
 2 files changed, 6 insertions(+), 2 deletions(-)
 create mode 100644 recipes-core/gettext/gettext_0.19.%.bbappend
 delete mode 100644 recipes-core/gettext/gettext_0.19.4.bbappend

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 "
-- 
2.7.4




More information about the yocto mailing list