summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-20 16:19:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-20 16:20:47 +0100
commit7753bbb8b160251525ac2f661ccb60f9fc98da50 (patch)
treea1f6a1e3610a291b4ab2bae3ccdc1b20594acd0a /l10ntools
parent93d021a7803bc897b0f52928a7562bb2b9860566 (diff)
Fix libxml2 usage in l10ntools
Change-Id: I746af9162d5cd01e0ce0a9f469f0771d7934ba2d
Diffstat (limited to 'l10ntools')
-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