summaryrefslogtreecommitdiff
path: root/shell/StaticLibrary_xmlparser.mk
diff options
context:
space:
mode:
Diffstat (limited to 'shell/StaticLibrary_xmlparser.mk')
-rw-r--r--shell/StaticLibrary_xmlparser.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/shell/StaticLibrary_xmlparser.mk b/shell/StaticLibrary_xmlparser.mk
index 13638bf0cc20..eeefe1df5e20 100644
--- a/shell/StaticLibrary_xmlparser.mk
+++ b/shell/StaticLibrary_xmlparser.mk
@@ -36,12 +36,18 @@ ifeq ($(GUI),WNT)
$(eval $(call gb_StaticLibrary_add_defs,shell_xmlparser,\
-DXML_UNICODE \
))
-endif
$(eval $(call gb_StaticLibrary_use_externals,shell_xmlparser,\
expat_utf16 \
))
+else
+$(eval $(call gb_StaticLibrary_use_externals,shell_xmlparser,\
+ expat_utf8 \
+))
+
+endif
+
$(eval $(call gb_StaticLibrary_add_exception_objects,shell_xmlparser,\
shell/source/all/xml_parser \
))