]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - Makefile
For BeOS libxml2 is not part of the default devkit, try to find headers elsewhere.
[libsvgtiny.git] / 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