Michele Locati <mich...@locati.it> writes:

> I'm still having problems cross-compiling for Windows even after
> having applied 0001-build-Export-formatstring_kde_kuit-to-W32.patch:
[...]
> undefined reference to `__imp__syntax_check_name'
> collect2: ld returned 1 exit status
> make[4]: *** [libgettextsrc.la] Error 1

Thanks, I should have checked that.  The attached trivial change
(committed) should fix this.

Regards,
-- 
Daiki Ueno
>From 54f28c3850567d980943ac260638eccc42b0831b Mon Sep 17 00:00:00 2001
From: Daiki Ueno <u...@gnu.org>
Date: Thu, 25 Jun 2015 10:02:53 +0900
Subject: [PATCH] build: Export syntax_check_name to W32

* woe32dll/gettextsrc-exports.c: Export syntax_check_name.
Reported by Michele Locati.
---
 gettext-tools/ChangeLog                     | 5 +++++
 gettext-tools/woe32dll/gettextsrc-exports.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog
index 22754c4..ca26c6d 100644
--- a/gettext-tools/ChangeLog
+++ b/gettext-tools/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-25  Daiki Ueno  <u...@gnu.org>
+
+	* woe32dll/gettextsrc-exports.c: Export syntax_check_name.
+	Reported by Michele Locati.
+
 2015-06-24  Daiki Ueno  <u...@gnu.org>
 
 	* woe32dll/gettextsrc-exports.c: Export formatstring_kde_kuit.
diff --git a/gettext-tools/woe32dll/gettextsrc-exports.c b/gettext-tools/woe32dll/gettextsrc-exports.c
index c49a899..86b34cd 100644
--- a/gettext-tools/woe32dll/gettextsrc-exports.c
+++ b/gettext-tools/woe32dll/gettextsrc-exports.c
@@ -85,5 +85,6 @@ VARIABLE(po_multiline_error)
 VARIABLE(po_multiline_warning)
 VARIABLE(po_xerror)
 VARIABLE(po_xerror2)
+VARIABLE(syntax_check_name)
 VARIABLE(style_file_name)
 VARIABLE(use_first)
-- 
2.4.2

Reply via email to