summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2010-01-03 23:37:39 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2010-01-03 23:37:39 +0000
commit3b3a99208b438ebdfb42d1ee417fa156b7a62f8d (patch)
treef4d1d62e21db115526c9256825a31741b5bf3212 /Makefile
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
Diffstat (limited to 'Makefile')
-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