]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
For BeOS libxml2 is not part of the default devkit, try to find headers elsewhere.
authorFrançois Revel <mmu_man@netsurf-browser.org>
Sun, 3 Jan 2010 23:37:39 +0000 (23:37 -0000)
committerFrançois Revel <mmu_man@netsurf-browser.org>
Sun, 3 Jan 2010 23:37:39 +0000 (23:37 -0000)
svn path=/trunk/libsvgtiny/; revision=9785

Makefile

index 94153e4c549e6d2a484431a61dae8319c6cb0167..ee95e2033f5b1387650d55e828ddabad708dd657 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,9 @@ ifneq ($(PKGCONFIG),)
   LDFLAGS := $(LDFLAGS) \
                $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --libs libxml-2.0)
 else
+  ifeq ($(TARGET),beos)
+    CFLAGS := $(CFLAGS) -I/boot/home/config/include/libxml2
+  endif
   CFLAGS := $(CFLAGS) -I$(PREFIX)/include/libxml2
   LDFLAGS := $(CFLAGS) -lxml2
 endif