Hi, I needed the attached patch to get a debug build of the sw module. Does it look sane and I can push it or do you have a better idea? The error message I get is included in the commit message. I put it to sw.mk after getting about the third similar error. :) Thanks.
From 2da823da67cf5b4a95919759919b1f918902f5f3 Mon Sep 17 00:00:00 2001 From: Miklos Vajna <vmiklos@frugalware.org> Date: Thu, 13 Jan 2011 01:04:38 +0100 Subject: [PATCH] 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. --- sw/inc/sw.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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 -- 1.7.3.4
Attachment:
pgpELMqYpaUYG.pgp
Description: PGP signature