summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2009-02-17 22:15:51 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2009-02-17 22:15:51 +0000
commitddbfb99e609446238270fa66db1ba45d96e03cc1 (patch)
tree60cd87c1c523286d11506f90dbf909b6d94c652c /Makefile
parent88403793f2d0863fde965e7203869a3eb4e924c7 (diff)
downloadnetsurf-ddbfb99e609446238270fa66db1ba45d96e03cc1.tar.gz
netsurf-ddbfb99e609446238270fa66db1ba45d96e03cc1.tar.bz2
Account for new paths to search for libs & headers in Haiku.
svn path=/trunk/netsurf/; revision=6547
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 86264d4fd..d0aa61e15 100644
--- a/Makefile
+++ b/Makefile
@@ -327,6 +327,8 @@ ifeq ($(HOST),beos)
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support))
LDFLAGS += -L/boot/home/config/lib
+ # for Haiku
+ LDFLAGS += -L/boot/common/lib
# some people do *not* have libm...
LDFLAGS += -lxml2 -lz -lcurl -liconv
ifeq ($(NETSURF_USE_SSL),YES)
@@ -448,6 +450,9 @@ ifeq ($(TARGET),beos)
endif
ifneq ($(wildcard /boot/develop/lib/*/libnetwork.so),)
# Haiku
+ CFLAGS += -I/boot/common/include \
+ -I/boot/common/include/libxml2 \
+ -I/boot/common/include/libmng
NETLDFLAGS := -lnetwork
else
ifneq ($(wildcard /boot/develop/lib/*/libbind.so),)