summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2010-01-03 23:37:39 (GMT)
committer Fran├žois Revel <mmu_man@netsurf-browser.org>2010-01-03 23:37:39 (GMT)
commit3b3a99208b438ebdfb42d1ee417fa156b7a62f8d (patch)
treef4d1d62e21db115526c9256825a31741b5bf3212
parent57231d84bc511051fd3f9dd89a502cfb0d212435 (diff)
downloadlibsvgtiny-3b3a99208b438ebdfb42d1ee417fa156b7a62f8d.tar.gz
libsvgtiny-3b3a99208b438ebdfb42d1ee417fa156b7a62f8d.tar.bz2
For BeOS libxml2 is not part of the default devkit, try to find headers elsewhere.
svn path=/trunk/libsvgtiny/; revision=9785
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 94153e4..ee95e20 100644
--- 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