[Libreoffice-commits] .: sw/inc
Miklos Vajna
vmiklos at kemper.freedesktop.org
Thu Jan 13 02:51:58 PST 2011
sw/inc/sw.mk | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 581a6bb6cfd1940d69bf22bdee574b80c9daaaad
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Thu Jan 13 01:04:38 2011 +0100
Fix debug build with system-libxml
Fixes:
$ build debug=t dbglevel=2
...
In file included from /home/vmiklos/git/libreoffice/master/clone/writer/sw/source/core/layout/dbg_lay.cxx:125:0:
../inc/frame.hxx:37:29: fatal error: libxml/encoding.h: No such file or directory
compilation terminated.
and similar errors in several subdirs.
diff --git a/sw/inc/sw.mk b/sw/inc/sw.mk
index c14f5ab..237e4c9 100644
--- a/sw/inc/sw.mk
+++ b/sw/inc/sw.mk
@@ -38,3 +38,7 @@ CDEFS += -DSW_DLLIMPLEMENTATION
.ENDIF
VISIBILITY_HIDDEN=TRUE
+
+.IF "$(DBG_LEVEL)">="2"
+CFLAGS += $(LIBXML_CFLAGS)
+.ENDIF
More information about the Libreoffice-commits
mailing list