diff --git a/src/Jamrules b/src/Jamrules index e3868de6a..19de8cc67 100644 --- a/src/Jamrules +++ b/src/Jamrules @@ -29,6 +29,8 @@ CCFLAGS += -Wwrite-strings -Wno-char-subscripts ; +XMLHDRS = /usr/include/libxml2 ; + rule iconv { if $(LINK_ICONV) { diff --git a/src/common/kernel/Jamfile b/src/common/kernel/Jamfile index b515cf44d..ccfbf5e05 100644 --- a/src/common/kernel/Jamfile +++ b/src/common/kernel/Jamfile @@ -4,6 +4,7 @@ TargetDirectory ; SubDirHdrs $(SUBDIR)/../util ; SubDirHdrs $(SUBDIR)/.. ; SubDirHdrs $(SUBDIR)/../.. ; +SubDirHdrs $(XMLHDRS) ; SOURCES = alchemy.c diff --git a/src/common/util/Jamfile b/src/common/util/Jamfile index ec64dbdfa..784e996ed 100644 --- a/src/common/util/Jamfile +++ b/src/common/util/Jamfile @@ -3,6 +3,7 @@ SubDir TOP common util ; TargetDirectory ; SubDirHdrs $(SUBDIR)/.. ; SubDirHdrs $(SUBDIR)/../.. ; +SubDirHdrs $(XMLHDRS) ; SOURCES = attrib.c diff --git a/src/eressea/Jamfile b/src/eressea/Jamfile index a20d8583a..408bf5775 100644 --- a/src/eressea/Jamfile +++ b/src/eressea/Jamfile @@ -7,6 +7,8 @@ SubDirHdrs $(SUBDIR)/../common/util ; SubDirHdrs $(SUBDIR)/../common ; SubDirHdrs $(SUBDIR)/.. ; +SubDirHdrs $(XMLHDRS) ; + LUASERVER = eressea-lua ; SERVER = eressea ; diff --git a/src/mapper/Jamfile b/src/mapper/Jamfile index a2fdb61e3..4e693a063 100644 --- a/src/mapper/Jamfile +++ b/src/mapper/Jamfile @@ -7,6 +7,8 @@ SubDirHdrs $(SUBDIR)/../common/util ; SubDirHdrs $(SUBDIR)/../common ; SubDirHdrs $(SUBDIR)/.. ; +SubDirHdrs $(XMLHDRS) ; + SOURCES = autoseed.c logging.c