summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/Executable_transex3.mk1
-rw-r--r--l10ntools/inc/xmlparse.hxx3
-rw-r--r--l10ntools/prj/build.lst2
3 files changed, 5 insertions, 1 deletions
diff --git a/l10ntools/Executable_transex3.mk b/l10ntools/Executable_transex3.mk
index d2b7952f0372..5568f93ef475 100644
--- a/l10ntools/Executable_transex3.mk
+++ b/l10ntools/Executable_transex3.mk
@@ -52,6 +52,7 @@ $(eval $(call gb_Executable_add_exception_objects,transex3,\
$(eval $(call gb_Executable_use_externals,transex3,\
icuuc \
$(if $(filter MSC,$(COM)),icuin,icui18n) \
+ libxml2 \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx
index 0fedb2b7a6d8..7a758727c5f6 100644
--- a/l10ntools/inc/xmlparse.hxx
+++ b/l10ntools/inc/xmlparse.hxx
@@ -26,7 +26,10 @@
#include <vector>
#include <signal.h>
+
+#include <libxml/xmlexports.h> // define XMLCALL so expat.h does not redefine it
#include <expat.h>
+
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include "boost/unordered_map.hpp"
diff --git a/l10ntools/prj/build.lst b/l10ntools/prj/build.lst
index af0fdfeff475..ebe9ce18cc1a 100644
--- a/l10ntools/prj/build.lst
+++ b/l10ntools/prj/build.lst
@@ -1,3 +1,3 @@
-tr l10ntools : EXPAT:expat LIBXSLT:libxslt ICU:icu sal NULL
+tr l10ntools : EXPAT:expat LIBXML2:libxml2 LIBXSLT:libxslt ICU:icu sal NULL
tr l10ntools usr1 - all tr_mkout NULL
tr l10ntools\prj nmake - all tr_prj NULL